try this -
<html:text name="book" property="title" indexed="true" onblur="doThis('<%= 
index.intValue() %>')"/> 

Regards,
Janarthan S

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 9:55 AM
To: Struts Users Mailing List
Subject: how to send the 'index' to javascript function



Hi, 
        This is my jsp. 
        <logic:iterate name="books" id="book" indexId="index"> 
                <html:text name="book" property="title" indexed="true" 
onblur="doThis()"/> 
        </logic:iterate> 
        
        how to send the 'index' as input to 'doThis()' [javascript Function] 

Thanks
Subramaniam


Reply via email to