15,895,667 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Narendra Naidu89 (Top 26 by date)
Narendra Naidu89
6-Mar-14 10:40am
View
i sended tat 3 files man in skype
Narendra Naidu89
6-Mar-14 9:28am
View
narendranaidu89
Narendra Naidu89
3-Mar-14 21:52pm
View
ya Mr.killsone pls help me..i will wait for ur rply
Narendra Naidu89
23-Feb-14 7:00am
View
same i want solution Mr.peter please give me solution
Narendra Naidu89
21-Feb-14 2:31am
View
ya i sended u message thr tadit
Narendra Naidu89
21-Feb-14 2:07am
View
if u dont mind give ur skype id tadit i will share my utput screen and i will show my requirement clearly
Narendra Naidu89
21-Feb-14 1:58am
View
ok no problem Tdit..do it in jquery
Narendra Naidu89
21-Feb-14 1:41am
View
thr is ntng aftr it loads..please make code of ur own Mr.tadit leave mine code and do it ur code to me please
Narendra Naidu89
20-Feb-14 6:01am
View
tadit r u thr
Narendra Naidu89
20-Feb-14 5:13am
View
Hai Tadit see this code can we use this content.php[
" . $row{'vediodetails'} . "</li>";
}
?>
aftr that we can call this in script like this[
<script>
jQuery('#sidebar-left').click(function()
{
jQuery('#parentCategory').change(function()
{
jQuery("#subCategory").load("content.php?choice="+jQuery("#parentCategory").val());
});
});
</script>
Narendra Naidu89
20-Feb-14 4:33am
View
ya i did its working up to tat for loop in showdiv() after tat its not..
Narendra Naidu89
20-Feb-14 4:25am
View
on clicking the values are not geeting..check the code what i did.. i dont know is it wright r wrong
Narendra Naidu89
20-Feb-14 4:08am
View
kk Tadit
Narendra Naidu89
20-Feb-14 3:20am
View
if u dont mind i want tis tonight Mr.tadit dash
Narendra Naidu89
20-Feb-14 2:43am
View
i will wait for ur rply Mr.Tadit Dash
Narendra Naidu89
19-Feb-14 23:00pm
View
Hi Tadit Dash this is the link http://www.codeproject.com/Questions/730401/I-want-to-display-the-respected-data-when-we-click
Narendra Naidu89
19-Feb-14 7:02am
View
hi tadit dash i tried but its not working..
Narendra Naidu89
18-Feb-14 7:49am
View
kkk..thank u
Narendra Naidu89
18-Feb-14 7:00am
View
can u send code for tat.i thought that we can use Href tag for tat..
Narendra Naidu89
18-Feb-14 5:38am
View
now i want small suggestion..now we are displaying all values know.Again if u click on the any one of the value on the displayed values we have to get the respected data using ajax call..please suggest me how to do this..
Narendra Naidu89
18-Feb-14 5:33am
View
Its working thank u very much Mr.Tadit dash.
Narendra Naidu89
18-Feb-14 5:21am
View
ya its working sir please tell me whr i have to place your code into my code
Narendra Naidu89
18-Feb-14 4:57am
View
hai Tadit Dash please help quick as possible sir...iam stuk thr it self...pls help me
Narendra Naidu89
18-Feb-14 3:28am
View
now iam getting the values in div wat i selected but i want all the values in the second dropdown
Narendra Naidu89
17-Feb-14 6:28am
View
<html>
<head>
<title>example</title>
<style>
#header{
background-color:#c3dfef;
}
#footer
{
background-color:#ccecd8;
margin:5px;
display: block;
clear: both;
}
#sidebar-left
{
background-color:#D0D0D0 ;
float: left;
width:250px;
height:530px;
}
#content
{
background-color:#ccdff0;
height:530px;
}
div{
padding:10px;
border:solid 1px black;
}
.button2:hover {
text-decoration: none;
background: #007ead;
background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
background: -moz-linear-gradient(top, #0095cc, #00678e);
}
</style>
<body>
<script type="text/javascript" src="../js/jquery-1.9.1.js"></script>
<script>
jQuery(document).ready(function()
{
jQuery.ajax(
{
type: 'GET',
url: 'Youtube_category.php',
dataType: 'JSON',
success:function(data)
{
for(i=0;i<jquery(data).length;i++)
{
="" $('#parentcategory').append('<option="" value="+ data[i].categoryName+">' + data[i].categoryName + '</option>');
}
}
});
});
</script>
<script>
jQuery(document).ready(function()
{
jQuery('#parentCategory').change(function()
{
jQuery("#subCategory").load("subCategory.php?choice="+jQuery("#parentCategory").val());
});
});
</script>
<script>
function showDiv() {
document.getElementById('sidebar-left').style.display = "block";
var index = document.getElementById('subCategory').selectedIndex;
var selectedText = document.getElementById('subCategory').options[index].innerHTML;
document.getElementById('sidebar-left').innerHTML = selectedText;
}
</script>
<form id="form1">
<div id="header" >
<select id="parentCategory" value="parentCategory" class="button2" name="category">
<option selected="selected" name="category" value="selected">--Select category--</option>
</select>
<select id="subCategory" class="button2" name="subCategory">
<option selected="selected" name="subCategory" value="selected">--Select subCategory--</option>
</select>
<input type="button" name="answer" value="Go" class="button2" önclick="showDiv()" />
</div>
<div id="sidebar-left" ></div>
<div id="content"> content </div>
<div id="footer"> footer </div>
</div>
</head>
</form>
</body>
</html>
this is the code i had done..iam geeting only the selected valu in the div but i want all values in the dropdown
Narendra Naidu89
17-Feb-14 5:37am
View
i have already the second dropdown..now i want to display that values in the second dropdown into the div
Show More