derguteonkeldod wrote:
> Hello.
>
> I've got this little function here:
>
> function getSeatInfos(evt)
> {
> seat = evt.getTarget();
> seatid = seat.getAttribute("id");
> getURL("http://localhost:8080/TestServlet/test?id="+seatid, callback)
> }
>
> I print out the data in a servlet. But it's always '0'.
> If I do this:
> getURL("http://localhost:8080/TestServlet/test?id=3", callback)
> the servlet prints '3'.
> The seatid is not '0'. I've tested it with:
> dummy.getFirstChild().setNodeValue(seatid);
> and it works.
>
> Does anybody know a solution?
>
hi
function getSeatInfos(evt)
{
seat = evt.target;
seatid = seat.getAttribute("id");
st= "http://localhost:8080/TestServlet/test?id="+seatid
alert(st)
getURL(st, callback)
}
what does the alert say if you do it like this ?
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/