Please, could anyone tell me, how can I call directly the function in vb script after I registered it with RegisterClientScriptBlock?
thanks
Ma 4 3087
If your function name is called myFunction and accepts a parameter myVar
you would use the below code, the returned value is assigned to
returnedValue
<script language=vbscript>
Dim returnedValue
returnedValue = myFunction("valueofmyVar")
</script>
Matt
"Max" <an*******@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com... Please, could anyone tell me, how can I call directly the function in
vb script after I registered it with RegisterClientScriptBlock? thanks,
Max
If your function name is called myFunction and accepts a parameter myVar
you would use the below code, the returned value is assigned to
returnedValue
<script language=vbscript>
Dim returnedValue
returnedValue = myFunction("valueofmyVar")
</script>
Matt
"Max" <an*******@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com... Please, could anyone tell me, how can I call directly the function in
vb script after I registered it with RegisterClientScriptBlock? thanks,
Max
Client script blocks can only be called on the client side. You can
register the script as a startup script if you want it to be executed
when the page loads.
/Hugo
On Mon, 5 Apr 2004 23:51:02 -0700, Max
<an*******@discussions.microsoft.com> wrote: Please, could anyone tell me, how can I call directly the function in vb script after I registered it with RegisterClientScriptBlock?
thanks,
Max
Client script blocks can only be called on the client side. You can
register the script as a startup script if you want it to be executed
when the page loads.
/Hugo
On Mon, 5 Apr 2004 23:51:02 -0700, Max
<an*******@discussions.microsoft.com> wrote: Please, could anyone tell me, how can I call directly the function in vb script after I registered it with RegisterClientScriptBlock?
thanks,
Max This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sue |
last post by:
After finishing up my first quarter JavaScript on 12/12/03, I decided
to improve character checking on my project. In my project I only had
to do very basic validation. Therefore, I only had one...
|
by: cheezebeetle |
last post by:
ok, so I am having problems passing in an ASPX function into the Javascript in the codebehind page. I am simply using a confirm call which when they press "OK" they call this ASPX function, when...
|
by: JoeK |
last post by:
Hey all,
I am automating a web page from Visual Foxpro. I can control all the
textboxes, radio buttons, and command buttons using syntax such as:
...
|
by: Alani |
last post by:
Hello All,
I'm a new ASP.NET programmer and I want to create a custom control
consist of two properties (Number1) and (Number2) and both of them are
integers and default value = 0,
now I'm...
|
by: KaNos |
last post by:
Hi,
"robot script pages" are html+javascript pages, can be played in aspx
player. So in this tech, robot call aspx player's function (an interface is
sheared) and wait a result synchronously with...
|
by: harishdixit1 |
last post by:
Hello friends i developed a tollbar for Firefox browser. Now This
toolbar contains a menu item. A web page will be opened by the user of
the Toolbar. This Web page source code has included many .JS...
|
by: thisis |
last post by:
Hi All,
i have this.asp page:
<script type="text/vbscript">
Function myFunc(val1ok, val2ok)
' do something ok
myFunc = " return something ok"
End Function
</script>
|
by: yangsuli |
last post by:
i want to creat a link
when somebody click the link
the php script calls a function,then display itself :)
i have tried
<a href=<? funtion(); echo=$_server ?>text</a>
but it will call the...
|
by: Angus |
last post by:
I have a web page with a toolbar containing a Save button. The Save
button can change contextually to be a Search button in some cases.
Hence the button name searchsavechanges.
The snippet of...
|
by: evicailieva |
last post by:
A have a php scrip where I call a JavaScript function. I don't know why, but it doesn't work. At the beginning, when I was writing the script it was working but now it's not. I don't know wхat to do....
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |