hii guys,
I am newbie to jquery and ajax .
I am stuck to know when to use jquery and ajax . which is better to use and fast .
can anyone plz explain .
3 1827 Dormilich 8,658
Recognized Expert Moderator Expert
jquery and AJAX are two very different things. jquery is a javascript library, while AJAX (Asyncronous Javascript and XML) is a programming pattern (it’s about doing a server request). thus you can do AJAX with the help of jquery (but not vice versa).
i am bit confused ..
i do it this way using jquery to get the result from server with out refresh of page like -
<script type="text/javascript">
-
$(document).ready(function() {
-
$("#mobile_brand").change(function() {
-
$.post("mobile_change.php",{ brand:$("#mobile_brand").val(),price:$("#property4").val(),type:$("#property3").val(),os:$("#property6").val() } ,function(data){
-
$("#change").html(data);
-
});
-
});
-
</script>
so whats will be the difference if i do it in ajax!
Dormilich 8,658
Recognized Expert Moderator Expert @pradeepjain
don’t confuse a technique (or pattern) with a library. to answer the question, what you do there is ajax, with the help of jquery.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: c19h28o2 |
last post by:
Hi,
I'm a little stuck with Ajax (really am not getting it at the moment!)
I'm trying to write into a div when something is typed into a box...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
|
by: darrel |
last post by:
I'm still struggling to find a javascript/ajax library that I want to stick
with for a while.
JQuery is looking great these days...refined, LOTS of plug-ins, and an
active community.
Is anyone using JQuery in their asp.net apps? Anyone know of any ASP.net
jquery wrapper libraries to make development a bit faster?
-Darrel
|
by: DuaneMoraes |
last post by:
A new book on jQuery, the powerful JavaScript library, has been announced by Packt In Learning jQuery, Karl Swedberg and Jonathan Chaffer, creators of the popular jQuery learning resource www.LearningjQuery.com, share their knowledge, experience, and enthusiasm about jQuery to help users get the most from the library and to make their web applications shine.
jQuery is a powerful JavaScript library that can enhance websites regardless of the...
|
by: Don Quijote de Nicaragua |
last post by:
Hi, is there any way to insert a registration in SQL Server using
Jquery en ASP.NET.
|
by: mikeh3275 |
last post by:
I'm not sure if this belongs on this forum, but if anyone is still using AjaxPro, I'm trying to get it to work with jQuery. I keep getting errors returned similar to this one: null; r.error = {"Message":"word s","Type":"System.NotSupportedException"};/*. Below is the relevant code. Thanks for your help.
C# code:
using AjaxPro;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs...
| |
by: liketofindoutwhy |
last post by:
I am learning more and more Prototype and Script.aculo.us and got the
Bungee book... and wonder if I should get some books on jQuery (jQuery
in Action, and Learning jQuery) and start learning about it too?
Once I saw a website comparing Prototype to Java and jQuery to Ruby...
but now that I read more and more about Prototype, it is said that
Prototype actually came from Ruby on Rails development and the creator
of Prototype created it...
|
by: NetWave |
last post by:
Hi,
For my next project I'm going to need Ajax, so I'm in about to read some
books on ASP.NET Ajax.
While reading Rick Strahl's blog I stumbled upon jQuery. I've been to the
website and seen some examples, and it sure looks promising.
However, I'm not sure how it relates to ASP.NET Ajax. Do they complement
each other? Or are they concurrent products?
|
by: Aaron Gray |
last post by:
There does not seem too be anyway to test if two jQuery references are the
same element.
Given :-
... <div id="1"></div ....
Then :-
alert( $("#1") == $("#1"))
|
by: souporpower |
last post by:
Hello All
I am trying to activate a link using Jquery. Here is my code;
<html>
<head>
<script type="text/javascript" src="../../resources/js/
jquery-1.2.6.js"</script>
<script language="javascript" type="text/javascript">
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |