ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Code Snippets  >>  Scripts_Markup Code  >>  PHP Code
 
 


 

 
 PHP Code interview questions  PHP Code Interview Questions
 JSP Code interview questions  JSP Code Interview Questions
 ASP Code interview questions  ASP Code Interview Questions
 CGI Perl Code interview questions  CGI Perl Code Interview Questions
 JavaScript Code interview questions  JavaScript Code Interview Questions
 VB Script Code interview questions  VB Script Code Interview Questions
 Shell Script Code interview questions  Shell Script Code Interview Questions
 Python Code interview questions  Python Code Interview Questions
 WinRunner Code interview questions  WinRunner Code Interview Questions
 HTML DHTML XHTML Code interview questions  HTML DHTML XHTML Code Interview Questions
 XML interview questions  XML Interview Questions
 Scripts_Markup Code AllOther interview questions  Scripts_Markup Code AllOther Interview Questions
Question
Hi

I have a dynamic dropdown reading in data from a MQSql 
database, I need to refresh just the dropdown (not the 
whole page) for any new values in the database. I am trying 
to use the getElementById in javascript but I have no idea 
how to get it to refresh. 
Does any one have an examples or any ideas how this can be 
done?

Regards

Srilanka_3
 Question Submitted By :: Srilanka_3
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi I have a dynamic dropdown reading in data from a MQSql database, I need to refresh just the dropdown (not the whole page) for any new values in the database. I am trying to use the getElementById in javascript but I have no idea how to get it to refresh. Does any one have an examples or any ideas how this can be done? Regards Srilanka_3
Answer
# 1
Hi

I have a dynamic dropdown reading in data from a MQSql 
database, I need to refresh just the dropdown (not the 
whole page) for any new values in the database. I am trying 
to use the getElementById in javascript but I have no idea 
how to get it to refresh. 
Does any one have an examples or any ideas how this can be 
done?
 
Is This Answer Correct ?    0 Yes 0 No
Imrankhan
 
  Re: Hi I have a dynamic dropdown reading in data from a MQSql database, I need to refresh just the dropdown (not the whole page) for any new values in the database. I am trying to use the getElementById in javascript but I have no idea how to get it to refresh. Does any one have an examples or any ideas how this can be done? Regards Srilanka_3
Answer
# 2
Hello,

Ajax will be better solution for you. 

1st set your Drop down in a particular Div tag and refresh 
this div tag with new Drop Down HTML.

Regards,
Dipesh
 
Is This Answer Correct ?    0 Yes 0 No
Dipeshpatel
[Indianic]
 
 
 

 
 
 
Other PHP Code Interview Questions
 
  Question Asked @ Answers
 
1)how i get the current system time using php?  3
Hi I have a dynamic dropdown reading in data from a MQSql database, I need to refresh just the dropdown (not the whole page) for any new values in the database. I am trying to use the getElementById in javascript but I have no idea how to get it to refresh. Does any one have an examples or any ideas how this can be done? Regards Srilanka_3  2
How to Connect and Insert Record to MYSQL using PHP?  4
 
For more PHP Code Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com