TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Brijesh mandaliya
NA
49
0
How to convert javascript to jquery code?
Oct 19 2010 4:32 AM
Hi...
How to convert this javascript code into jQuery?
<script type="text/javascript" language="javascript">
function demoGridTable()
{
alert("Test");
var faq = new Array(3);
for (i=0; i <3; i++)
faq[i]=new Array(3);
faq[0][0]="ID";
faq[0][1]="Name";
faq[0][2]="Addresss";
faq[1][0]="1";
faq[1][1]="Brijesh";
faq[1][2]="Bapunager";
faq[2][0]="2";
faq[2][1]="JSK";
faq[2][2]="Navrangpura";
var tbl="<table><tr><th>ID</th><th>Name</th><th>Address</th></tr>";
for(i=1;i<3;i++)
{
tbl+="<tr>";
for(j=0;j<3;j++)
{
tbl+="<td>"+faq[i][j]+"</td>";
}
tbl+="</tr>";
}
tbl+="</table>";
document.getElementById('Demogrd').innerHTML=tbl;
}
</script>
Thanks & Regards,
Brijesh Mandaliya
Reply
Answers (
2
)
how find ip address of web site visitors
JQuery in CreateUserWizard control