Reading Javascript In VB?
Is it possible? If so then how would i retrieve the value of something like this:
Code:
<td class="item">Total_Money_Count</td>
<td class="value">2,142</td>
Like how would i read the java code so that i could find the Value of of it via a webbrowser in a VB app By value do you mean the displayed value as is (already) in a table, or do you mean pre calculation and call java script?
You can parse the value from the table with RegEx or use Html element collections to gather the information, if that is the case, there is no need for calling Java Script.
If you want to manipulate the javascipt itself and call using java and calling it from vb.net then you can use Page.RegisterStartupScript which if I recall is a obsolete API found in web.dll and may only work in a asp.net application with vb code behind.
By itself (in vb.net alone) the process is a little more complicated.
I could probably write a tutorial in time, but it depends on what exactly you are looking to do.
I can pretty much handle any manipulation , just need to know what you are looking to do, and if it helps others as well, the site.