Connecting Tech Pros Worldwide Help | Site Map

Any problem with onblur=""

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 17th, 2006, 06:45 PM
eric.goforth@gmail.com
Guest
 
Posts: n/a
Default Any problem with onblur=""

Hello,

I'm rendering a page with xml/xsl, for one control, I've set up a an
xsl template something like:

<xsl:template name="MyText">
<xsl:param name="sName"></xsl:param>
<xsl:param name="sAction"></xsl:param>
<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="{$sName}" VALUE="Test"
onblur="{$sAction}"></INPUT>
</xsl:template>

I'm calling the template something like:

<xsl:call-template name="MyText">
<xsl:with-param name="sName">MyName</xsl:with-param>
<xsl:with-param name="sAction">DoSomething</xsl:with-param>
</xsl:call-template>

Since some of my textboxes need an action in the onblur event, I've put
it in there as a parameter. However, some of my textboxes don't do
anything on the onblur, which means they look like:


<xsl:call-template name="MyText">
<xsl:with-param name="sName">MyName</xsl:with-param>
<xsl:with-param name="sAction"></xsl:with-param>
</xsl:call-template>

and would be render like:

<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="MyName" VALUE="Test"
onblur="">

Will having this empty onblur cause any problems?

Thanks,
Eric


  #2  
Old August 17th, 2006, 07:05 PM
Randy Webb
Guest
 
Posts: n/a
Default Re: Any problem with onblur=""

eric.goforth@gmail.com said the following on 8/17/2006 2:51 PM:
Quote:
Hello,
<snip>
Quote:
<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="MyName" VALUE="Test"
onblur="">
>
Will having this empty onblur cause any problems?
None at all.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.