In jQuery, how do you select the <a> which href is pointing to the current URL
URL = http://server/dir/script.aspx?id=1
I want to select this <a>
I tried this but it ...
I'm writing a Ruby on Rails app. The following jQuery code is included in the head tag of the index.html.erb file, which is the template for all pages on the site.
<a class="change_this" href="http://www.site1.com">Link 1 Type 1</a>
<a class="change_this" href="http://MyID.site1.com">Link 1 Type 2</a>
<a class="change_this" href="http://www.site2.com/?refid=myid2">Link 2 Type 1</a>
<a class="change_this" href="http://www.site2.com/myid2/">Link 2 Type 2</a>
<a href="http://www.site3.com/">Nothing changes</a>
I have a question.
In my file content.html I have script.
When load this with the load() function of jQuery, the page shows but the script doesn't work. I think it's because ...
I have a form on filling all the information and it refreshes and go to the same form .
which needs 2 parametrs to be passed to the ...
Our url pathname is
I have following html menu:
Have a question regarding URL and jQuery.
Can I specify URL to tell jQuery to run a function?
to run a function XYZ();?
I am trying to make an ajax call using $.get() where I want to pass in a specific element selector (#id) into the data:
So I am creating a TagCloud for my site and am having issues being able to use JQuery to alert me of the selected link.
The site created the links just fine, ...