This discussion is archived
2 Replies Latest reply: Jun 8, 2006 4:09 PM by AdamC RSS

Label still displayed when using html_HideElement How do I get rid of this?

AdamC Newbie
Currently Being Moderated
I'm using ..

function HideWithDatepicker(object)
var object;
var el=html_GetElement(object);
var links=document.links;
var calendar=new RegExp('^javascript:genCal.*'
for (var j=0;j<links.length;j++) {
if (links[j].href && links[j].href.match(calendar))

to hide a DatePicker item ...

How do I get rid of the label ..

(I have a ShowWithDatepicker(object) function using html_ShowElement to reverse the Hide function)

I can't use html_HideItemRow as there multiple items on the same row ..