kranthi117 Posted January 31, 2008 Share Posted January 31, 2008 i m not able to use ajax with FF when the web page returns a <form> element.. i found that the prob is not with ajax but FF does not alow element.innerHTML = string where string contains <form> element... Quote Link to comment https://forums.phpfreaks.com/topic/88684-element-in-responsetext-of-firefox/ Share on other sites More sharing options...
haku Posted January 31, 2008 Share Posted January 31, 2008 innerHTML isn't a great practice anyways (maybe this is one of the reasons). You should be using appendChild for better practices. Quote Link to comment https://forums.phpfreaks.com/topic/88684-element-in-responsetext-of-firefox/#findComment-454256 Share on other sites More sharing options...
kranthi117 Posted January 31, 2008 Author Share Posted January 31, 2008 i still use it. may b coz it was the method given in most of the AJAX tutorials i hav read. can u suggest me an alternative Quote Link to comment https://forums.phpfreaks.com/topic/88684-element-in-responsetext-of-firefox/#findComment-454268 Share on other sites More sharing options...
aureolin Posted February 2, 2008 Share Posted February 2, 2008 I use InnerHTML all the time - I know this works in both FF and IE. You do have to replace the InnerHTML of the parent element to change your form, but I'm sure you've gotten that much. Can you post more details? Steve G. Quote Link to comment https://forums.phpfreaks.com/topic/88684-element-in-responsetext-of-firefox/#findComment-455964 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.