Any problem with onblur=""

E

eric.goforth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top