Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 1
Name: Joel
Trades: 0
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
 
 
Register now for full access!
Reply     « Reply to Issues with indexOf() in IE7 - who has used indexOf successfully before?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.34581 seconds with 12 queries