![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Can someone tell me if this is possible and if so, how??? I want to dynamically create a link that will use the window.open function. This is what i tried, but i keep getting an error. ')' expected... function createlink(thisfirst,thislast,thisid){ var thisfirst = thisfirst var thislast = thislast var thisid = thisid var thelink thelink = '<a href=\"javascript:window.open(\'reports/reportlist.asp?ID=' |
|
+ thisid + '&Fname=' + thisfirst + '&Lname=' + thislast + |
|
'\',\'reports\',\'scrollbars=yes,resizable=yes,wid th=500,height=500\')\" Create forms for ' + thisfirst + ' ' + thislast +'</a>' ; document.all.crreaterpt.innerHTML = thelink; thanks in advance.. |
#2
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |