Calling a function from within another function


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Calling a function from within another function

  1. #1
    Join Date
    Sep 2005
    Posts
    9

    Calling a function from within another function

    Hi all,

    I wonder whether it is possible to call a function from within another function, for instance:

    I have a function, called "Bereken()" in the HTML.
    From CodeBehind I have the following code:

    Dim scriptString as string = "<script language=Javascript> {"
    scriptString += "txtbox.value = 'OK' ;"
    scriptString += "Bereken();"
    scriptString += "}</"
    scriptString += "script>"

    When running: the txtboxvalue becomes indeed 'OK', but the function Bereken() didnot start.... how come ?

    Help is appreciated, Ger.

  2. #2
    Join Date
    Sep 2005
    Posts
    9
    I have choosen for another solution. It is possible to call a function from within another function, but I didnot do that from the CodeBehind, but from the JavaScript in the HTML.

    So, I hope this helps others too, otherwise: maybe someone has an answer for this question. For me this thread has been resolved !

    regards, Ger.

Similar Threads

  1. Getting a GUI to run
    By Eric in forum Java
    Replies: 4
    Last Post: 04-14-2006, 10:09 AM
  2. Packed Data(Comp-3, etc)
    By Marcos in forum VB Classic
    Replies: 3
    Last Post: 01-25-2006, 12:18 PM
  3. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 07:53 AM
  4. calling ping thru vb
    By Michael Shutt in forum VB Classic
    Replies: 6
    Last Post: 04-05-2001, 03:25 AM
  5. Trying to print a PDF File from VB
    By Kunal Sharma in forum VB Classic
    Replies: 2
    Last Post: 04-25-2000, 04:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center