• 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

My pop up window does not working on jsp

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi...

My PopUp Window does not working When i am click any link it will only open empty pop up window it does not carry the page information.

This is my JSP page..


<script language="javascript">
function win(add,w,h)
{
window.open(add,"","width="+w+",height="+h+",location=0,directories=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1,top=5,left=5");
window.location.reload();
}
</script>


<ul>
<li><a href="#" class="MenuBarItemSubmenu">Account Master</a>
<ul>
<li><a href="#" value="./Masters/accountMaster/accountmasternewmodify.jsp" onclick="win(this.value,600,450)">New</a></li>
<li><a href="#" value="./Masters/accountMaster/accountmasternewmodify.jsp" onclick="win(this.value,600,500)">Modify</a></li>
<li><a href="#" value="./Masters/accountMaster/accountmasterdelete.jsp" onclick="win(this.value,600,500)">Delete</a></li>
<li><a href="#" value="./Masters/accountMaster/accountmasterview.jsp" onclick="win(this.value,600,500)">View</a></li>
</ul>

Thanks...
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does the add variable contain ?
Does it have a URL or some path to another HTML or JSP ?


window.open("URL Goes here");



This means if the URL to which you are pointing does not have anything it wount display anythin in the pop-up window.
reply
    Bookmark Topic Watch Topic
  • New Topic