DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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, 09:09 AM
  2. Packed Data(Comp-3, etc)
    By Marcos in forum VB Classic
    Replies: 3
    Last Post: 01-25-2006, 11:18 AM
  3. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 06:53 AM
  4. calling ping thru vb
    By Michael Shutt in forum VB Classic
    Replies: 6
    Last Post: 04-05-2001, 02: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, 03:45 PM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links