jquery link tag enable disable

Posted by nirmal on Stack Overflow See other posts from Stack Overflow or by nirmal
Published on 2009-07-23T04:33:26Z Indexed on 2010/03/30 10:53 UTC
Read the original article Hit count: 540

Filed under:
|
|
|
|

I want to disable the link during onloading, for the code given below

<span id="addlink">"<%= f.add_associated_link('Add Task', @project.tasks.build, :class=>"add") %></span>

please,suggest some answers if you have

i tried with the below samples but not working

$("#addlink").attr("disabled", "disabled");

and

$("a.add").hide();

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about link