• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to add a in a dynamicaly creating a href link

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello everyone

actually i am dynamically adding my html page where there is three input field and one link.after filling all the three input field and going to the link and filling that and after all is finished i press add and all the three field and link will dynamically add so that i can add the next request.

my problem is i am able to do it in all the three input field.but getting issue in a href link.the value i entered first is keep on repeating whenever i press add.instead i want an empty one.can anyone help me
this is the link
<td> a href="javascript:void()" onKlick="javascript:return resumesearch()"> Candidates for Interview</a></td>

thanks sanju
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You do not need javascript: in the onclick

What is your function resumesearch()returning? false?

Eric
 
sanju sreedharan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it is something like this

function resumesearch(){

javascript:window.open('ResumeSimpleSearch.do?vacancy_refno=<bean:write name="mainactionform" property="vacancy_refno"/>&&recycle_no=<bean:write name="mainactionform" property="recycle_no"/>&&selection_prid_no=<bean:write name="mainactionform" property="selection_prid"/>','index','directories=no,menubar=no,statusbar=yes,width=1000,height=500');return false;
return true;
}
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is with the return false than the return true? Do you think it will actually get to the true?

Seeing the serverside code in the markup really does not help. What does it look like after the code has rendered? View the page source and paste that code in here.

Eric
reply
    Bookmark Topic Watch Topic
  • New Topic