Hi All,
I want to extract URL from Anchor tag.
Below Anchor tag is defined in Asp.Net Search.Aspx page.
<a onclick = "call_new_url({"abxz":1,"emps":"","ufd":1},"http://localhost:8989/Search.aspx?aa=1;")" style="position: relative;"></a>
Now I want to retrieve ONLY
http://localhost:8989/Search.aspx?aa=1; PART from anchor tag using JavaScript or jQuery.
Note - There is no href defined in anchor tag. Can anyone help me on this?
I tried with indexOf and substring method but it's not working.
Is there any other in-built method?