Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bad argument

Status
Not open for further replies.

PsychoPif

IS-IT--Management
Apr 15, 2002
3
CA
Here is the function that cause an error

function ShowMbrInfo(mbrNick)
{
var strPage = "'MemberInfo.aspx?mbr=" + mbrNick + "'";
window.open(strPage, "Info","height=400,width=150");
}

I get a bad argument error.

<a href=&quot;#&quot; OnClick=&quot;ShowMbrInfo('Bob');&quot;>Bob</a>
 
IE6 tested and worked ! ---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
IE 6 can do it but for older browsers, do this:
<a href=&quot;#&quot; OnClick=&quot;ShowMbrInfo('Bob');return false;&quot;>Bob</a>

Rick If I have helped you just click the first link below to let me know :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top