jQuery is a cross browser JavaScript library that helps to traverse through HTML elements, event handling, effects(animation) and Ajax interactions. It is very easy to learn and implement.
Using jQuery in ASP.NET Page
First of all you will require to link jQuery library to your ASP.NET page. Use below shown code in HTML code to include latest jQuery.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"> </script>
It also can be achieved using server ASP.NET side code like this:
protected override void Render(HtmlTextWriter writer) { this.Page.ClientScript.RegisterClientScriptInclude("jQuery", "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"); base.Render(writer); }
Using jQuery in PHP
<?php
if ($_GET["action"]=="getlink"){
$ld=loadInfo ($_GET["link"]); echo $ld; }
function loadInfo ($lnk){
switch ($lnk) { case 1: $list[0]="name john"; $list[1]="my desc fsdfsd"; break; case 2: $list[0]="orians gate"; $list[1]="bla for bla"; break; case 3: $list[0]="space 1999"; $list[1]="whos there anyone"; break; } //properly format for use in javascript $str=$list[0]."<|>".$list[1];
return $str; } ?>
If you need any urgent assistance on JQuery-Examples, kindly email your requirement to us at : info@javagenious.com or Contact-an-Expert. Our experts will try their best to solve your problem.
You can also subscribe to our newsletters on JQuery-Examples, to receive updates on JQuery-Examples,via email.Enter you email below:
Keyword Tags: JQuery-Examples tutorial,JQuery-Examples in java,Concepts of JQuery-Examples,Java,J2EE,Interview Questions,JQuery-Examples Examples
-
Spring Tutorials, Spring Examples, Spring example, Spring Frameworks,Spring and Tiles view, Spring v
-
Get Started with Using Ajax in Java
-
Hello World Ajax tutorial, Ajax Hello World tutorial, Source code Ajax, Ajax Java JSP Tutorial
-
Struts 2 Tutorial,Struts2 Examples,Apache Struts 2 Tutorials
-
Java Operators like arithmatic,addtion,subtraction,multiplication,shift
-
pl sql tutorial with examples
-
What is @transient attribute in hibernate?
-
XPath Tutorial : Combining Java, XML and XSL
-
Power Of Java Applet Programming
|