• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Some querries abour javaScript

 
Greenhorn
Posts: 10
MyEclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to javaScript, and i have few querries about javaScript as below mentioned :-
1. how do i write an javaSript file that can generate dynamic html pages.
2. how can we write a .js file without using html tags.

Thanks...
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

purushottam singh wrote:
1. how do i write an javaSript file that can generate dynamic html pages.



Need more details on what you mean exactly. But seems like you will be using a lot of createElement, appendChild, innerHTML.

purushottam singh wrote:
2. how can we write a .js file without using html tags.



Not sure what you mean.

Eric
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

purushottam singh wrote:2. how can we write a .js file without using html tags.


,js files only contain JavaScript so there shouldn't be an HTML in them at all.
 
reply
    Bookmark Topic Watch Topic
  • New Topic