|
-
September 4th, 2008, 12:23 PM
#1
Facing problem with calling a popup window from <A href> by passing parameter.
Hi,
I strucked calling the popup window from <a href> by passing the ID.
I used this statement, but it gives the error: "Illegal line end in string literal"
Code:
actTitle = "<a href=# onClick=\"OZ_openBrWin2('ozLOVSlsContactCall.jsp?id=<%=id%>&dtltype=PSN','callLOV');\">"+calcontact.getCallName()+"</a>";
I need to pass id with extentions as &dtltype=PSN
so, what i need to modify in the above statement.
Thanks in advance...
Last edited by adusumalli; September 4th, 2008 at 02:20 PM.
-
September 4th, 2008, 04:53 PM
#2
Re: Facing problem with calling a popup window from <A href> by passing parameter.
It should work as you have it. Try the following.
Code:
actTitle = "<a href=# onClick=\"OZ_openBrWin2('ozLOVSlsContactCall.jsp?id=<% out.println(id) %>&dtltype=PSN','callLOV');\">"+calcontact.getCallName()+"</a>";
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 4th, 2008, 05:03 PM
#3
Re: Facing problem when i am calling popup window from <a href> passing ID.
still it is showing same error.
with this statement it does not showing any errors.
Code:
actTitle = "<a href=# onClick=\"OZ_openBrWin2('ozLOVSlsContactCall.jsp?id="+calcontact.getID()+"','callLOV');\">"+calcontact.getCallName()+"</a>";
but with that ID i need to pass this: &dtltype=PSN
thanks ......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|