Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is jQuery.ajax() the right tool?
Message
From
11/06/2014 13:20:37
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01601494
Message ID:
01601693
Views:
31
change says, "When the value of the specified object changes, run the following javascript code
get is calling a URL that does all the data access and SQL query, then returns some data

>I will have to think and understand your approach. I know it is a simple example but I am not familiar with "change" and ".get" syntax. Usually in my ASP.NET program, to get any data, I have to call a method of a Data Access class and pass a SQL Select to it. So I will need to see how it can be applied to your suggestion.
>Thank you very much.
>
>>could be as simple as that ...
>>
>>$(document).ready(function(){
>>  $('#yourInput').change(function(){
>>    $.get(yourURL + '?' + $(this).val(), function(html){
>>      $('#divID').html(html);
>>    }
>>  })
>>});
>>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform