I would like to create a JQuery function which would onload search for all links with id "inline" and change them.
This is a example link:
I know this can be partially done (ie. search for all href with id inline) by:
<a id="inline" href="#ucBox0_ctl01out_lblid">Info</a>
But the complicated part im not sure about is I need to manipulate the href before changing it.
So for example:
ucBox0_ctl01out_lblid to ucBox0_ctl00
ucBox0_ctl02out_lblid to ucBox0_ctl01
ucBox0_ctl03out_lblid to ucBox0_ctl02
I was thinking to remove "out_lblid", then extract 01, minus 1 then append it back to the string...
The end result I would like is for example:
Can this be done? Any help is really appreciated.
<a id="inline" href="#ucBox0_ctl00">Info</a>