Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HTML
<FORM  önsubmit="return checkValid()" method=post name=fm1 
action=bl_view_invoice_controler.jsp>

<TABLE style="BORDER-COLLAPSE: collapse" id=AutoNumber7 border=0 cellSpacing=0 borderColor=#111111 cellPadding=2 width="100%">
<TBODY>
<TR>
<TD width="40%"><INPUT class=underline1 size=15 name=ivcd_item></TD>
</TR>
</TBODY>
</TABLE>

<SCRIPT language=JavaScript>
fm1.ivcd_item['0'].value="CHINAAIR";
</SCRIPT>


And...the question is, how to use BHO to read 'CHINAAIR'?
Posted
Updated 26-Mar-12 17:58pm
v2
Comments
ZurdoDev 26-Mar-12 11:05am    
What are you trying to do?
MinamiTiaki 27-Mar-12 6:36am    
To get the value in the table. As you see, the value of the table is store in script
ZurdoDev 28-Mar-12 7:57am    
What do you mean by the value of the table? A table can have many cells and rows so it does not have a value. Do you mean the value of your <INPUT />?
MinamiTiaki 29-Mar-12 0:22am    
Yes, I want to get the value of the table. The problem is, the value of the table is store in JavaScript.
ZurdoDev 29-Mar-12 7:57am    
I'm sorry, but I still don't understand what you are trying to do. If you give the input an ID of "ivcd_item" you could easily just use jQuery and do $("#ivcd_item").val();

I rewrite my question, and new question is here:
How to use C# read the value of the TD?[^]
 
Share this answer
 
A Browser Helper Object (BHO) is a DLL module designed as a plugin for Microsoft's Internet Explorer web browser to provide added functionality. To read use it as it is.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900