Results 1 to 9 of 9

Thread: HTML object

  1. #1

    Thread Starter
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    Resolved HTML object

    Is there anything similar to a vb label object in html?

    I currently am changing the value of a textbox, but the user can enter data on the textbox... and the textbox does not look very good...

    If I could apply the .value to a <div id="myid"> or something that would be awesome, but I can't!
    Last edited by Ruku; Oct 4th, 2006 at 05:21 PM.

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: HTML object

    You can manipulate the content of any and all HTML elements by learning proper DOM scripting.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: HTML object


  4. #4

    Thread Starter
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    Re: HTML object

    thx... gonna have to go for xml I gues...

    I'm used to JS, php, asp, java & flashscript... but completelly new to xml

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: HTML object

    This has nothing to do with XML. We're talking about the proper JavaScript way of accessing the in-memory representation of the HTML here.

    Apparently you're not used to JS, or at least only in the context of ASP.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    Re: HTML object

    let's see... "XML DOM Tutorial",

    why do I keep finding XML DOM everywhere if XML is not necessary?

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: HTML object

    The DOM is most useful in dealing with XML but it is more frequently used with HTML documents. The DOM API can theoretically be applied to any SGML-based language, including HTML and XML and their subsets such as XHTML.
    Javascript provides a built-in implementation of the DOM as do many other programming libraries.

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: HTML object

    Because the DOM is an API to access a certain type of tree data structure which happens to be the same as the one that XML models. OK, not happens to. DOM was originally designed for XML. But HTML models the same structure, and that's what you use DOM for in browsers.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9

    Thread Starter
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    Re: HTML object

    oki, was just wondering... thanks for pointers!

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

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