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
Post a Comment