EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 13, 2025, 10:03:53 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Jquery Show Content on Click of Button
Pages: [
1
]
« previous
next »
Print
Author
Topic: Jquery Show Content on Click of Button (Read 6467 times)
Ravi
Newbie
Posts: 1
Jquery Show Content on Click of Button
«
on:
September 03, 2014, 11:42:14 PM »
Iam creating a webpage in which there is a column called Show Information.In each of the columns there is a button .When I click the button Contents should come like name,age from mysql and button should be hidden.So I have a problam in jquery.The info is getting from mysql in first column.but for 2nd button click corresponding info is not showing.but for other buttons ,info is not showing.
I iterated through each td columns
1st method
for(var $id=0;$id<count("td_elements");$id++)
//iterating through td elements
{
$(".addButton:eq($id)").hide();
//hiding button
$(".ShowContent:eq($id)").hide();
//Show Div
}
In this method first column content is displayed and button is hidden
$(".addButton:eq(0)").hide();
//hiding button
$(".ShowContent:eq(0)").hide();
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...