| | |
Using jQuery
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jul 2008
Posts: 148
Reputation:
Solved Threads: 25
They are two different technologies:
php is server-side and will be executed on the server with the results being displayed to the user.
jquery is client-side and will be executed in the user's browser.
the only code it can modify is the html code that is delivered by the server. plus being client-side all a user needs to do is view your source and navigate to your javascript files to see whatever it is you are doing with your code. there is not much if anything secure about it.
php is server-side and will be executed on the server with the results being displayed to the user.
jquery is client-side and will be executed in the user's browser.
the only code it can modify is the html code that is delivered by the server. plus being client-side all a user needs to do is view your source and navigate to your javascript files to see whatever it is you are doing with your code. there is not much if anything secure about it.
If you're question/problem is solved don't forget to mark the thread as Solved!
-- Code I post is usually but not always tested. If it is tested it will be against 5.2.11 or 5.3.0
-- Code I post is usually but not always tested. If it is tested it will be against 5.2.11 or 5.3.0
JQuery lets you write javascript program in a shorter, faster way and also making you dumb...
e.g.
It's up for you to decide which one you will use to create your programs.
But if you're really interested in Mastering Javascript fundamentals, then simply forget about those frameworks and start learning things with a simple function like:
e.g.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
var obj = document.getElementById("someId"); // This is a Javascript format. var jQobj = $("someId"); // This is a JQuery implementation, seems alot shorter, compared to Javascript format.
It's up for you to decide which one you will use to create your programs.
But if you're really interested in Mastering Javascript fundamentals, then simply forget about those frameworks and start learning things with a simple function like:
javascript Syntax (Toggle Plain Text)
window.onload = function() { alert("Hello Word!\nAm about to explore the world of Javascript with a simple function called alert!"); // Try more expirements--> // And by the time you're done--you can now write your own frameworks just like JQuery and all other javascript frameworks available out there. };
Last edited by essential; May 28th, 2009 at 5:49 am.
![]() |
Similar Threads
- JQuery: Need Help Embedding Link in Accordion Menu (JavaScript / DHTML / AJAX)
- Jquery : get elements by index from the wrapper set (JavaScript / DHTML / AJAX)
- sorting PHP results with jQuery? (PHP)
- JQuery Accordion Menu (Help Needed) (JavaScript / DHTML / AJAX)
- Jquery, prototype, ... vs javascript (JavaScript / DHTML / AJAX)
- Problem with slider (jQuery) containing scrool bar in Firefox (Java)
- Requesting information about trojan file jquery.corner[1].js (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: jQuery .scrollTo to call PHP function
- Next Thread: Get Url Instead
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column cookies createrange() css cursor dependent disablefirebug dom download dropdown editor element engine error events explorer ext file form forms google gwt gxt hiddenvalue highlightedword html htmlform ie8 iframe image() images internet java javascript jawascriptruntimeerror jquery jsf jsfile jump libcurl math matrixcaptcha microsoft mimic object onerror onmouseoutdivproblem onreadystatechange parent pdf php player post problem progressbar rated rating regex runtime scroll search security select session shopping size software sql star stars synchronous text textarea unicode validation w3c web website window windowofwords windowsxp wysiwyg xml \n





