186 users online (0 members and 186 guests)  


  Results 1 to 2 of 2

Related

  1. help form result in url    Forum: Javascript Forum
    Replies: 0
  2. javascript in html    Forum: HTML Forum
    Replies: 6
  3. Replies: 7
  4. HTML/JavaScript/ASP    Forum: HTML Forum
    Replies: 0
  1. #1
    gjengaar's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    1

    Writing HTML-result from javascript to a hiddenfield in ASP...

    I'm having a function in javascript which builds an HTML-string.. On a asp-page I want to save this string in an database.. I guess the best way is to write the HTML-string to an hidden-field, but I can't do this without having the HTML be written out to the page.

    Please, anyone?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi,

    If you don't want this string to be accessible to the browser at all, then wouldn't it be easier to create the string in ASP and save it directly to the database?
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?