Shoutbox

Javascript IE parse problem - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Javascript IE parse problem (/showthread.php?tid=85141)

Javascript IE parse problem by foaly on 08-02-2008 at 01:44 PM

In javascript I use the following line:

code:
taginp.setAttribute('name','bestanden'+count_files+'');

In Firefox this works, but in IE it gives an error...
I narrowed it down to the part
code:
'bestanden'+count_files+''
apparently it doesn't see that part as a string and therefore gives an error.
Anyone know how I can fix that?