| | |
Ajax 3 contained files
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
> 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.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
•
•
Join Date: Nov 2007
Posts: 290
Reputation:
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 6: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.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
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.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Javascript not working in firefox or Safari
- Next Thread: open browser window and other js in firefox
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxexample ajaxhelp ajaxjspservlets animate array automatically beta blackjack boarder box captcha card cart codes column css date debugger decimal design developer dom download element embed enter error events firefox focus form frameworks getselection google gwt hiddenvalue hint html htmlform ie7 iframe image() index java javascript javascripthelp2020 javascripts jawascriptruntimeerror jquery jsp libcurl listbox maps marquee masterpage media menu microsoft mimic mp4 onerror onmouseover parameters paypal php player position post problem programming prototype rating redirect regex safari scale scriptlets search security select size software sources sql starrating textarea toggle tweet twitter unicode validation variables w3c webservice website window windowofwords xml






