"Paweł" <> wrote in message
news:...
> I have a few long lines (like these below) and I would like to make them
> shorter.
> Any ideas how can I do this??
>
>
> <input size=1 class=\"Unspecified\" maxLength=3 id=SIP1 name=\"SIP1\"
> onblur=\"IPcheck(this)\">
> <input size=1 class=\"Unspecified\" maxLength=3 id=SIP2 name=\"SIP2\"
> onblur=\"IPcheck(this)\">
> <input size=1 class=\"Unspecified\" maxLength=3 id=SIP3 name=\"SIP3\"
> onblur=\"IPcheck(this)\">
> <input size=1 class=\"Unspecified\" maxLength=3 id=SIP4 name=\"SIP4\"
> onblur=\"IPcheck(this)\">
Since you're using JS anyway, you could generate them with document.write()
and a for loop. OK, doesn't make the lines shorter, but reduces overall size
if number of lines is big enough.
|