Results 1 to 6 of 6

Thread: How do you add text to a webpage?

  1. #1

    Thread Starter
    Lively Member Blaster's Avatar
    Join Date
    Jun 2001
    Posts
    70

    Question How do you add text to a webpage?

    like in webbrowser1 have it put some text in a <input type=text name=q>

  2. #2
    Hyperactive Member FUBAR's Avatar
    Join Date
    Jan 2000
    Posts
    307
    are you talking about a local web page file?
    or one that is on the internet somewhere

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. WB1.document.all.q.value = "Hello"

    I believe

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4

    Thread Starter
    Lively Member Blaster's Avatar
    Join Date
    Jun 2001
    Posts
    70
    dont think it matters if its local or on internet
    thanks crptcblade

  5. #5
    Hyperactive Member FUBAR's Avatar
    Join Date
    Jan 2000
    Posts
    307
    oh yes it would matter if it was on internet because your wouldnt be able to edit the file then...its read only, unless u download it then reupload it

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by FUBAR
    oh yes it would matter if it was on internet because your wouldnt be able to edit the file then...its read only, unless u download it then reupload it
    Blaster was talking about giving text to textboxes and stuff like that. But you can edit the file as you view it, I think, using the innerHTML and innerText properties. I think you can use them through the WebBrowser

    -EDIT - You don't actually edit the file, just the view of the document.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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