javascript - automatically click anchor tag link on jsp page -


i having 1 tricky requirement. explaning through example

abc.jsp calls xyj.jsp , xyj has link <a href="viewdetails.do">click</a>

my requirement when run abc.jsp calls xyz.jsp , without showing xyz.jsp page should call struts action. means want call href of anchor tag internally.

either link or buttun should clicked internally through javascript call struts action dynamically instead of go , click on link manually

thanks,

my friend should use jquery method $('a[href="viewdetails.do"]').trigger('click'); auto click. , let me know if face problem using this. thanks


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -