Results 1 to 6 of 6

Thread: Confirm

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Location
    PAKISTAN
    Posts
    54

    Confirm

    plz tell me confirm alert
    how its button work



    i mean OK and CANCLE....
    Be Good Not Bad

  2. #2
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    ok returns true and cancel returns false

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    I think you mean MsgBox, look it up in VB help for a nice explanation and some examples

  4. #4

    Thread Starter
    Member
    Join Date
    Sep 2002
    Location
    PAKISTAN
    Posts
    54
    how can i take vb help plz explain..///
    Be Good Not Bad

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    ah sorry - I didn't notice which forum this was (I assumed VB script). I'm afraid I don't know how to do it javascript etc.

  6. #6
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    Code:
    function test(){
    	if(confirm("click a button"))
    		alert("ok");
    	else
    		alert("cancel");
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width