Hi, Guys,
There is two links in my body part: but i want to give them jquery touch, as I am a beginner to jquery, not able to get it done can you help?
click <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">here</a>
on clicking above link, it'll call following css and give the lightbox effect.
<div id="light" class="white_content">Please wait as process is going on..<img src="images/ajax-loader(2).gif" />
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a>
</div>
<div id="fade" class="black_overlay"></div>
llly on clicking close it'll close the lightbox.
In my head part jquery code is like this:(document.ready() written, #btn_submit- button id.) .....
$("#btn_submit").bind('click', function(){
//How can i write first anchor tags click in this?
)};
All I just want to know how to write anchor tags onclick part in jquery.
I'll really appreciate your help. Thank you in advance.