Hi
I'm trying to use divs to alter text on a screen dynamically. (Textarea limited to 160 characters and I want to show how many left every time something is typed in the box.) Now this works fine in IE but doesn't in Firefox.
The reason? Becos Firefox inserts a space into the id of the div:
<div name = "ozi" > becomes <div name = " ozi" > and that is impossible to reference. Same if you use 'id = "ozi"'
I've seen that another website, that has the same function also doesn't work in Firefox.
Any suggestions on how to get round this?
Many Thanks
Colin
I'm trying to use divs to alter text on a screen dynamically. (Textarea limited to 160 characters and I want to show how many left every time something is typed in the box.) Now this works fine in IE but doesn't in Firefox.
The reason? Becos Firefox inserts a space into the id of the div:
<div name = "ozi" > becomes <div name = " ozi" > and that is impossible to reference. Same if you use 'id = "ozi"'
I've seen that another website, that has the same function also doesn't work in Firefox.
Any suggestions on how to get round this?
Many Thanks
Colin