kieboy
11-10-2004, 07:58 AM
Hi I really need help in this problem of mine I have a link that calls a JS function, here's the code:
DataNavigateUrlFormatString="javascript:changeProperties(id={0})"
what I want to do is just pass the id value to the window.open url
function changeProperties() {
var objWindow;
objWindow = window.open('Details.aspx?id=' , 'null',' status=yes,scrollbars=yes,resizable=yes');
}
So that the url of the page would be:
Details.aspx?id=valueofID
Hope you guys can help me here, I tried finding the solutions myslef but had no luck. :(
DataNavigateUrlFormatString="javascript:changeProperties(id={0})"
what I want to do is just pass the id value to the window.open url
function changeProperties() {
var objWindow;
objWindow = window.open('Details.aspx?id=' , 'null',' status=yes,scrollbars=yes,resizable=yes');
}
So that the url of the page would be:
Details.aspx?id=valueofID
Hope you guys can help me here, I tried finding the solutions myslef but had no luck. :(