Ajax problem in IE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mpact
    New Member
    • Feb 2008
    • 3

    Ajax problem in IE

    Not sure if I should post it under Ajax or RoR - I am building an RoR application and used link_to_remote or remote_function to return a form in a span/div . It works well in FF but not in IE. Whenever there is "<form> tag" in the text returned it screws. Any suggestions?
  • improvcornartist
    Recognized Expert Contributor
    • May 2007
    • 303

    #2
    How does the generated HTML look? Does IE give any message about restricting scripts on the page?

    Comment

    • mpact
      New Member
      • Feb 2008
      • 3

      #3
      Basically there are radio buttons for user to select Yes / No. The Yes / No will generate different content in span/div. The Yes radio buttons loads a HTML table with checkboxes (it works fine even with IE), The No Radio button loads an Ajax form.

      When I click "No" in IE, it displays a "RJS error" and did not launch the Ajax form Whenever I removed the <form> </form> tag - the error disappears.

      Thank you in advance.

      Comment

      • mpact
        New Member
        • Feb 2008
        • 3

        #4
        I also tried to set showLoadingText =>"false" in the form (for radio button = No) but still doesn't work.

        <%= form_remote_tag ( :html => {:name => "entry_form ", :id => "entry_form ," showLoadingText =>"false" },
        :update => "new_entry_list ",

        Comment

        • improvcornartist
          Recognized Expert Contributor
          • May 2007
          • 303

          #5
          What is the RJS code and Ajax form? Does all the HTML validate?

          Comment

          Working...