Hi there,
I have the following html:
I would like to know if there was a solution in JS which would change the occurance of the 'and' in the last option to '&'.HTML Code:<select id="elSearchProgrammeSelect"> <option selected="selected">All programmes</option> <option>programme one</option> <option>programme two</option> <option>programme two and three</option> </select>
Therefore after the JS has kicked in, the html will read:
Thanks for your helpHTML Code:<select id="elSearchProgrammeSelect"> <option selected="selected">All programmes</option> <option>programme one</option> <option>programme two</option> <option>programme two & three</option> </select>![]()


Reply With Quote

Bookmarks