Reply
Issues with indexOf() in IE7 - who has used indexOf successfully before?
Old 04-15-2008, 10:36 PM Issues with indexOf() in IE7 - who has used indexOf successfully before?
Junior Talker

Posts: 1
Name: Joel
I am trying to rewrite a piece of HTML generated by Miva Shopping Cart which I can't edit anywhere. It's not the best way of doing things I know, but I need help to get my crackpot solution working in IE7.

I have a <div id="remove-div"> with the generated HTML inside it. I have written a JavaScript function that finds <select> boxes inside this <div> and then rewriting them to the page.

Firefox, the function works correctly and I can inspect the DOM to see it working. In IE7 however, the strings I search for with indexOf() return -1 because it can't find them. I noticed that if I take out the characters like ":<> then it will work.

Does anyone know how I can use these characters in IE7?
megajoel is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Reply     « Reply to Issues with indexOf() in IE7 - who has used indexOf successfully before?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11707 seconds with 12 queries