•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,932 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,241 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 607 | Replies: 5 | Solved
![]() |
•
•
Join Date: Nov 2007
Location: Banjaluka,RS,Bosnia
Posts: 283
Reputation:
Rep Power: 0
Solved Threads: 7
> FIRST : Can I call ID from the other files who contain J.S. code with ID ?
As long as the page which includes the script has an element with the given ID and the function using that ID is called after the entire page has been loaded.
> SECOND : I have Index.html , prototype-1.6.0.2.js , and I want to make changes from
> files2.html to files3.html
Questions related to external libraries are better off in their respective forums (i.e. the prototype forum), though I am pretty sure you need a server side language of your choice depending on the kind of 'change' you need.
As long as the page which includes the script has an element with the given ID and the function using that ID is called after the entire page has been loaded.
> SECOND : I have Index.html , prototype-1.6.0.2.js , and I want to make changes from
> files2.html to files3.html
Questions related to external libraries are better off in their respective forums (i.e. the prototype forum), though I am pretty sure you need a server side language of your choice depending on the kind of 'change' you need.
"I don't accept change. I don't deserve to live."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
•
•
Join Date: Nov 2007
Location: Banjaluka,RS,Bosnia
Posts: 283
Reputation:
Rep Power: 0
Solved Threads: 7
oh , 1 ) Thanks
2) Can i use Language like PHP ? or what ever you think that easy to learn ?
I am not sure what kind of change would be unless change like example :
In the file2 change a background because file3 got click on his page .
example :
Change file3 his one element ID , because file2 and his pal file1 got name from the user .
Thank y0u 4 y0ur eff0rt to understand .
2) Can i use Language like PHP ? or what ever you think that easy to learn ?
I am not sure what kind of change would be unless change like example :
In the file2 change a background because file3 got click on his page .
example :
Change file3 his one element ID , because file2 and his pal file1 got name from the user .
Thank y0u 4 y0ur eff0rt to understand .
Last edited by kv79 : Mar 24th, 2008 at 5:05 am.
> Can i use Language like PHP ? or what ever you think that easy to learn ?
There are many languages out there like Java, Perl, PHP etc. Pick any one of them and start learning though PHP seems to be the easier choice here because of its widespread use.
> I am not sure what kind of change would be unless change like example :
> In the file2 change a background because file3 got click on his page .
> example :
> Change file3 his one element ID , because file2 and his pal file1 got name from the user .
You can do all that and much more once you start off with server side programming. These server side technologies impart dynamic nature to the otherwise static pages and so changing the background color of a page based on a click on another page and much more complicated things are possible.
There are many languages out there like Java, Perl, PHP etc. Pick any one of them and start learning though PHP seems to be the easier choice here because of its widespread use.
> I am not sure what kind of change would be unless change like example :
> In the file2 change a background because file3 got click on his page .
> example :
> Change file3 his one element ID , because file2 and his pal file1 got name from the user .
You can do all that and much more once you start off with server side programming. These server side technologies impart dynamic nature to the otherwise static pages and so changing the background color of a page based on a click on another page and much more complicated things are possible.
"I don't accept change. I don't deserve to live."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
•
•
Join Date: Nov 2007
Location: Banjaluka,RS,Bosnia
Posts: 283
Reputation:
Rep Power: 0
Solved Threads: 7
I use Java at work but PHP is simple enough to be picked up by someone who doesn't have any experience with server side languages. Ruby is also a nifty and cool language worth checking out. Take a look at the code snippets written in different languages and just go with the one you are most comfortable with.
"I don't accept change. I don't deserve to live."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Previous Thread: Javascript not working in firefox or Safari
- Next Thread: open browser window and other js in firefox



Linear Mode