[Stripes-users] Re: Ajax question

Subject:   [Stripes-users] Re: Ajax question (find more)
From:   Sean Blezard <hidden> (find more)
Date:   Jan 18, 2006 16:33

OK,

It turns out that I needed to put HTML tags around the text - then  
Firefox plays fair. Makes sense I guess.

My problem now is a Safari one of all things - the old pressing enter  
on a text field causing form submit problem. This form submit goes to  
another page rather than calling the javascript xmlhttprequest submit.


On 18 Jan 2006, at 13:57, Sean Blezard wrote:

> Hi,
>
> I had a go with cribbing the calculator example into our code - a  
> basic form submit roundtrip to the action bean which returns a  
> simple String a la the calculator example. Now, it does truck off  
> to the server and does return the string. However, on Firefox 1.5   
> it also returns several hundred characters of junk. I'm thinking  
> this is going to be a Javascript in Firefox problem rather than a  
> Stripes problem but I wondered if other people had come across this  
> type of issue.
>
> Cheers,
> Sean.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Stripes-users mailing list
hidden
https://lists.sourceforge.net/lists/listinfo/stripes-users
Entire Thread (Showing 3 of 6)

  • [Stripes-users] Ajax question Sean Blezard <hidden>

    Hi, I had a go with cribbing the calculator example into our code a basic form submit roundtrip to the action bean which returns a simple String a la the calculator example. Now, it does truck off to the server and does return the string ...

    • [Stripes-users] Re: Ajax question Sean Blezard <hidden>

      • Re: [Stripes-users] Re: Ajax question Tim Fennell <hidden>

        I think what you can do in that case (if memory serves) is provide an onsubmit hander for the form that calls your JS code to do the AJAX submit and then returns false preventing the regular form submission from occuring. I ... (3 more messages in this thread)