Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-05-2008, 05:28 PM   PM User | #1
adi501
New Coder

 
Join Date: Jul 2008
Location: Falls Chuch, VA
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
adi501 is an unknown quantity at this point
Setting Focus on the Anchor tags

Hello.
I want to set focus on the anchor tag. Can anybody help me in this regard. I am new to javascript.

The following is my anchor tag.

Code:
out.println( "<a href='#'  class='ppolSmallLink' onclick=\"Toggle('quickCreateAddress');\">Create New Address <img src=\"graphics/arrow_btn.gif\" border=0></a>" );
On clicking this anchor tag a table with certain fields will be displayed. Actually the table is there in the div tag.(HERE THE PAGE DOES NOT REFRESH ON CLOCKING THE ANCHOR TAG)

The div tag is as follows

Code:
<div id=quickCreateAddress style="display: <%=showCreateAddress%>; ">
     <%=AddressUtil.renderQuickAdd( _ahsPage, page_url, id, cust.accessControlCanUpdate(_ahsPage) )%>
     <img src="graphics/z0.gif" width=320 height=1>
   </div>
Please let me know if any suggestions.

Thanks in Advance
adi501 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:38 AM.


Advertisement
Log in to turn off these ads.