Hi all.
I need construct a url with following parameters:
id and bookid. I have parameters in my page as
bookid = markers[i].getAttribute('bookid');
id = markers[i].getAttribute('id');
My final url should be as follows:
www.mysite.com/profile.php?profile=id&book=bookid.
In real life it will be
www.mysite.com/profile.php?profile=39&book=445
I created a link and function:
'<a href="javascript:openDetailsPage(' + id +',' + bookid + ')">View
Details</a>'
function openDetailsPage(bookID) {
www.mysite.com/profile.php?profile=' + bookID);
}
I just don't know how to construct url with two variables in the same
link.
Thank you in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---