Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1878 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

My first usefull ajax script!

Thread title: My first usefull ajax script!
Closed Thread    
    Thread tools Search this thread Display Modes  
08-08-2007, 06:39 PM
#1
CreativeLogic is offline CreativeLogic
CreativeLogic's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,078
iTrader: 6 / 100%
 

CreativeLogic is on a distinguished road

Send a message via MSN to CreativeLogic

  Old

First you want to remove the onclick from the button.

Add this to the form:
onsubmit="GetURL(); return false;"

The return false will make the form not submit the page, you know what the GetURL function does.

There error in IE is this line (which IE doesn't support):
Request.overrideMimeType('text/html');

To be honest, I'm not sure why you're using that. Your returned result should send back those proper headers if you must have them in there. If you remove that line it looks like it should work.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed