How to find particular URL from within anchor tag using JavaScript or jQuery

Posted by Vishalneeraj-24503 under JavaScript on 6/28/2021 | Points: 10 | Views : 184 | Status : [Member] [MVP] | Replies : 1
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?




Responses

Posted by: Sunny0903 on: 6/29/2021 [Member] Starter | Points: 25

Up
0
Down
online url fixing services here https://www.couponxoo.com/promo-code-for-1000-robux

Vishalneeraj-24503, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response