you can do it like this
function focusFirst(){
document.frmEmployee.txtName.focus();
}
-Original Message-
From: Henry S. Hayden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Setting focus in JSP
Here is a little mo
Hi all,
I am new to the jsp custom tag world and I am having a hard time finding a
way to abort the page processing form within a custom tag with soft error
handling. I am looking for a way to use a try catch and output an html error
to the page and then abort the rest of the page processing. SKIP
That is an age old dilemma. The solution that we have come up with takes
advantage of the wizard markup language and visual tool markup language
offered in Cold Fusion Studio or (HomeSite). It is still not drag-n-drop but
you can educate the designer as to how you want a particular component used
the simple solution would be to let the database do it for you. Double check
my start and finish arguments that they select the correct positions.
select substring(number,1,2)+' '+substring(number,3,5)+'
'+substring(number,6,len(number)) as formattedNumber
Otherwise to reuse the functionality yo
the frame is synonymous with window so scripting from another frame would
call parent.frames['name'].whatever
Bryan LaPlante
-Original Message-
From: Sharan, Dharmendra [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Off-topicHow
Hi all,
I have a custom tag that outputs a JavaScript and for timing reasons it
needs to be in the head of the document, however the end coder may place
this tag anywhere it is relevant to his/her own code. Has anyone ever tried
to change what is in the pageContext.getOut() buffer and insert a str
Try this:
function getColSpan(){
chld = mytable.rows[0].cells[0];
alert(chld.getAttribute("colspan",0));
}
getColSpan
-Original Message-
From: [Vaishali S. Pandya] [mailto:[EMAIL PROT