Top Scripts Interview Questions :: ALLInterview.com http://www.allinterview.com Top Scripts Interview Questions en-us display selected value in dropdown list through javascript without pa http://www.allinterview.com/showanswers/59115.html for this purpose we have to use ajax via we call another php file which make the string of dropdown list how to maintain sessions in jsp?can you tellme the methods. http://www.allinterview.com/showanswers/8622.html using session oject in jsp. first u set using following methods String name="ravi"; session.setAttribute("user",name); using retrive method String sessionuser=session.getAttribute(name); out.println("welcome How can we send mail using JavaScript? http://www.allinterview.com/showanswers/20022.html function myfunction(form) { tdata=document.myform.tbox1.value; location=?mailto:dep7abc@leeds.ac.uk? subject=?+tdata+?/MYFORM?; return true; } what is the current salary package in India for a PHP &amp; MySQL pro http://www.allinterview.com/showanswers/32623.html above 45000...per month. How to add a combo box dynamically at run time in Java script? http://www.allinterview.com/showanswers/18001.html for (var i=0;i<5;i++) { document.forms[0].cmb1.options[i]= new Option("Test"+i,i) } How to declare functions in unix shell script? http://www.allinterview.com/showanswers/15805.html function Dissplay () { echo "This is how we define function" } Display # Invoking Function ## Function should be defined before we invoke it WHat is the diff. between PHP4 and PHP5? http://www.allinterview.com/showanswers/29173.html There are several differences between PHP4 and PHP5. 1.Unified constructor and Destructor. 2.Exception has been introduced. 3.New error level named E_STRICT has been introduced. 4.Now we can define full method definintions for a abstract class. How can we increase the execution time of a PHP script? http://www.allinterview.com/showanswers/20005.html put sleep function in php script How can you insert javascript in php code? http://www.allinterview.com/showanswers/3087.html <? <script language='javascript'> </script> ?> What is the difference between chop &amp; chomp functions in perl? http://www.allinterview.com/showanswers/36991.html chop is used remove last character,chomp function removes only line endings. what is the function to get the ascii value of the character? http://www.allinterview.com/showanswers/28540.html ascii(char) What is the difference between JSP and Servlet? http://www.allinterview.com/showanswers/64734.html Jsp is better for preparing presentation pages, while servlet is good for request processing as it's more difficult to write include, forward a static or dynamic url with in out.println() , Jsp has also all implicit objects, we need not What is the Diff. Between echo() and Print() in PHP? http://www.allinterview.com/showanswers/26386.html when u use print(),a value of 1 or 0 will be returned upon success or failure of the the print command.where as echo() just does what its told without letting u know whether or not it worked properly. How do you import the packages in the JSP? http://www.allinterview.com/showanswers/6850.html eg: <%@ page import =?java.util.Vector,java.util.Map? %> Write a simple regular expression to match an IP address, e-mail ad http://www.allinterview.com/showanswers/16881.html For IP Address /([0-255])(\.)$1\1$1\1$1/; For other question answer may vary depending on the requirement.