ALLInterview.com :: Home Page            
 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                      
tip   To Refer this Site to Your Friends   Click 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 ?    2 Yes 2 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 ?    3 Yes 2 No
Dipeshpatel
[Indianic]
 
 
 
  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
# 3
it is 
Is This Answer Correct ?    0 Yes 3 No
Sdddddd@gmail.com
 
  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
# 4
by passing the id to the url, and get the value... 
Is This Answer Correct ?    0 Yes 2 No
Chandru
 

 
 
 
Other PHP Code Interview Questions
 
  Question Asked @ Answers
 
I have array like $array = array(1, "hello", 1, "world", "hello"); if i want the following output then how can i do this? Array ( [1] => 2 [hello] => 2 [world] => 1 ) NIIT2
How many frameworks are in php?  1
1)how i get the current system time using php?  22
How can get current system time continuously without refresh of page?  1
What is main difference between Cookie and Cache? NIIT3
Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why? Hcl1
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  4
hi sir actually i use now day's ajax but i m having problem my opinion i thing this code is right becuse i make code for my side validation with ajax in php so but it is not run complete i m posting my code pls confirm and clear my some mistake and return send me with informatiom what was error so next time i will be care fully so i m sending u but replay so quick because tomorrow i have to present it some where,frist one is index.php and second is show.php show.php is database connectivity for testing  1
If i have an array $string = array(1,2,6,2,9,6,7,3,1,2); How can i get only unique values from it? Array ( [0] => 1 [1] => 2 [2] => 6 [4] => 9 [6] => 7 [7] => 3 )  1
What is used of phpinfo() function in php?  1
How to Connect and Insert Record to MYSQL using PHP?  6
What is meant by 404 errors in php? NIIT2
 
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 © 2012  ALLInterview.com.  All Rights Reserved.

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