Ask a Question related to Web Design, Design and Development.
-
PK #1
document.getElementById()
Hi,
I am very new to xslt.
I have used a dhtml menu in my xslt.
The menu will work like the (priority)Flags menu in MS outlook.
My problem is..
Each row of my table has Flag images.Flags onclick will
display the flagsmenu.The selected flag from the menu
shud replace the corresponding flag in the table.
I generate unique ids for the images using generate-id().
How can i refer the generated id using document.getElementById() in
my javascript?
Each menu item(flags) is linked to a function say,
java_script_:changeimg('BlueFlag')
The code goes like this...
function changeimg(imagename)
{
if (document.images)
{
document.getElementById('FlagOne').src=imagename;
}
Here,'FlagOne' is a static id of a flag. So, i have generated unique ids
for each flag dynamically.How can i refer the generated id using document.getElementById() in my javascript?
Help Me Please!
Thanks in advance.
pk.
PK Guest
-
Characters overlapping in pdf document created from a Word document
We are using Adobe Acrobat 6.0, Word and Excel 2002 and Windows 2000. We create a portion of a document in Word and a portion in Excel. Then we print... -
Document security has been removed, document will close
I have opened this document numerous times, and all of a sudden I can no longer open this document. Can some one tell me what I need to do to open... -
The document could not be saved. There was a problem reading this document (109).
Me again. I lied. When I tried to use Acrobat Pro 6 to save a file created in Acrobat 5, I got the "info" box: "The document could not be saved.... -
getElementById with edit mode of datagrid control
How I can get element ID in the edit mode of datagrid control? If I not in the edit mode, there are no problem. <asp:TemplateColumn... -
document tabs vanished / can't maximize document window
I am having the same problem & it also appears & disapears at random. I tried maximizing the document window to no avail. Any ideas will be...



Reply With Quote

