Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Issue with input field Reply To: Issue with input field

#151365
Brad Metcalf
Participant

We had a weird issue on a clients project where we were looking for a word and would get weirdness involved. (Later turns out it was due to their clients copy and pasting from a Word document.) If the situation could use it (like it is not incredibly too sensitive and you can afford to be lax) then indexOf is a viable work around until you find a better solution.

MDN indexOf Documentation

MDN indexOf Prototype (Adding support to older browsers…)