I must do some basic communication between a webpage (that could be php or asp if necessary) with javascript output to my visual basic application and vice-versa.
Anyone knows if this is possible at all?
thnks in advance,
Thiago.
This is how u call a javascript from an aspx page(I am using vb.net think that it is also possible with c#)
To call a javacript in a Asp.net page(eg:default.aspx)
1. Add the javascript as an attribute of the control u want to add it
(ie if u want the javascript to work on a button click add it as an attribute
of button)
2. Specify the event on which it should happen and jscript function name.
Sample:It is done as follows
__________________________________________________ ________________
btnSubmit.Attributes.Add("onclick", "DoTotal();")
__________________________________________________ ________________
Here what i did is i added the javascript ----->DoTotal()<-----
on the event button click ------>onclick<-----
of the button named btnSubmit ------>btnSubmit<-----
Note: This is only valid for server side controls.
Note:the coma(,) , Semicolon(,) in calling jscript are important
make some javascripts and and call from aspx page using this do some trials and see if there is any progress.If you specify a situation I can also try to see if it works as u say.
I am not an expert but still try this please It may help.
God bless u regards bye Paulson