My brain seems to be stuck.
I got given some some 200 HTML files that had been
created on a Windows box using dreamweaver. After
hours of trying to figure out why my javascript
refuses to work (using the jQuery gear) I stumbled on
the fact that although all the input types had a name
allocated, none have an id.
What I want to do is use sed to search for
name="anythingatall"
and change it to
name="anythingatall" id="anythingatall"
I can't seem to get this one right.....
Mark.
I got given some some 200 HTML files that had been
created on a Windows box using dreamweaver. After
hours of trying to figure out why my javascript
refuses to work (using the jQuery gear) I stumbled on
the fact that although all the input types had a name
allocated, none have an id.
What I want to do is use sed to search for
name="anythingatall"
and change it to
name="anythingatall" id="anythingatall"
I can't seem to get this one right.....
Mark.