Results 1 to 4 of 4

Thread: How to convert Javascript code to Html code

  1. #1
    Join Date
    Dec 2008
    Posts
    35

    How to convert Javascript code to Html code

    While developing my code I used Javascript, but for the testing purpose when I insert it into the myspace profile, it does not allow to do so I think this the problem with the javascript, can any one tell me how to convert a java script into html?

  2. #2
    Join Date
    Oct 2008
    Posts
    180

    Re: How to convert Javascript code to Html code

    Use JavaScript within HTML to add dynamic abilities to the page like hide/display an HTML element. I get a code <script> </script> and I need to convert that into an <a href> or <iframe>. I am hoping you would be able to help me with this. You can also use JavaScript to create new HTML elements like rows in a table or simply "write" HTML code to the page using document.write("test") function.

  3. #3
    Join Date
    Oct 2008
    Posts
    119

    Re: How to convert Javascript code to Html code

    If you want to convert existing HTML code into document.write() sentences to make that HTML code, you can use this online free conversion tool, Or else you may download or purchase the software that would help you to convert the Javascript code to the Html code. Like this software enables you to create header and footer files in a regular html web site, without using server side scripting language like asp or php.

  4. #4
    Join Date
    Feb 2009
    Posts
    72

    Re: How to convert Javascript code to Html code

    It's easier to interact with PHP with AJAX. But why not send the username through the URL and retrieve the value using the _GET variable in PHP? If the script requires JavaScript enabled to work, then just go all out AJAX. I am looking for the conversion of javascript to htlm can you please assit me in resolving this issue?

Similar Threads

  1. How to replace HTML code using javascript
    By visioneye in forum Software Development
    Replies: 6
    Last Post: 11-05-2010, 11:38 PM
  2. Javascript code in servlet
    By Aaliya Seth in forum Software Development
    Replies: 5
    Last Post: 14-01-2010, 06:02 PM
  3. Do google understand javascript code in my HTML website?
    By Sid-O in forum Software Development
    Replies: 3
    Last Post: 22-07-2009, 07:45 PM
  4. JavaScript code outside html page
    By Gefry in forum Software Development
    Replies: 3
    Last Post: 30-04-2009, 03:53 PM
  5. How do I get the HTML code to display as HTML code?
    By NAYASA in forum Software Development
    Replies: 3
    Last Post: 26-12-2008, 12:35 PM

Posting Permissions

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