Good day!
I have a table inside a table. Each sub-table is inside a <td>.
I have put an ID in each of those <td>'s so that whenever I
want to hide other sub-tables, I'll just access the <td> ID
through javaScript and hide it. It was supposed to be a breeze.
And it did for most cases. But my problem now is that I have a
sub-table which contains thousands of data and it loads so slow.
I have an idea which is to use my
applet class code and "declare"
the hiding in there. Can I put code like this in there?
<CODE>
document.getElementById(tdID).style.display = 'none';
</CODE>
here's a snippet of my applet code:
<CODE>
win = JSObject.getWindow(this);
doc = (JSObject)win.getMember("document");
genForm = getParameter("genForm");
form = (JSObject)doc.getMember(genForm);
genField = getParameter("genField");
field = (JSObject)form.getMember(genField);
txtSendMsg.setText((
String) field.getMember("value"));
</CODE>
Can I apply similar style to the javaScript code that I mentioned earlier?
can it speed up my hiding?
Thanks.