/    Sign up×
Community /Pin to ProfileBookmark

Can I do this?

? Hello Javascript Doers,I want to know if what I want to do is possible in javascript.
I have a problem I have Page,this has 4 div areas with visual component in bounded in each. ?
In each of these components I wish to put information for an Array.
My Query is mainly I have already written the div`s in page straight up.

Problem Thus:Can I make javascript reference the individual div by name and component and add/update some contents or will I have to put ? ugly scripting tags throughout my page.
Do you know what I mean here?
Please help
Thanks

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@CharlesApr 02.2005 — Yes it can be done, however, if this is for public use then you will run into problems. One in ten users do not use JavaScript. The best method would be to use a transitional DTD and the [url=http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME]IFRAME[/url] element. If this is just for yourself then you can use the [url=http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/]DOM level 1[/url] to manipulate the page.
×

Success!

Help @andyalean spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...