Hi,
You can use document.getElementById('table1'), as you can do with any HTML
page.
samir nigam wrote:
>
> hi! i have written a html page as...
> <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC
> "-//W3C//DTD XHTML 1.1//EN" " http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
> "> <html xmlns=" http://www.w3.org/1999/xhtml " xml:lang="de">
> <head> <meta http-equiv="Content-Type"
> content="text/html; charset=iso-8859-15" />
> <title>qooxdoo demo</title> <script
> type="text/javascript"
> src="../qooxdoo/script/qooxdoo.js"></script>
> <script type="text/javascript"> window.application.main =
> function() {
> // i want to handle table
> with id="table1" from
> here. } </script> </head>
> <body> <table id="table1">
> <tr><td></td></tr> </table>
> </body> </html>
> i want to access table in the window.application.main = function(){ }
> block. is it possible?
>
> Thanks & Regards, SAMir Nigam Shah Rukh fan? Know all about the
> Baadshah of Bollywood. On MSN Search
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/accessing-table-in-window.application.main-%3D-function%28%29%7B-%7D-block-tf2132166.html#a5901975
Sent from the qooxdoo-devel forum at Nabble.com.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel