Can anybody tell me why this line isn’t working?
window.open('entertainers/drilldown.php?state=' + varlocation + '?p=','performers_frame')
I know it’s simple, and I know iframes suck but i am not familiar with javascript variables.
Thanks in advance!
Ryan
There’s nothing jQuery about that variable. If that’s a jQuery wrapped set you’d need to show us the rest of the code or tell us what it represents so you can get the attribute you’re looking for. You’re not providing enough for us to help you.
EDIT:
Ryan, if the variable is defined as
$.varlocationthen you have to append it as that. Try this:Just because it is declared with a
$doesn’t mean it is a jQuery wrapped set. In this case, it isn’t.