6,558 Topics
| |
Hi, I want to run php function using jquery ajax, Task is i have two dropdown(html select) **Filter_by_class.php** <form action="filter.php" method="POST" id="filter_students_form"> <div class="field"> <label for="stud_class_filter" class="cbx-lbl lbl-width">Select Class</label> <span class="dbl-dote">:</span> <select name="studclass_filter" id="stud_class_filter"> <option value="">-- SELECT STUDENT CLASS --</option> <?php if ($getStudentClass = $db->query("SELECT * FROM classes")) { if … | |
How to Change an input’s HTML5 placeholder color with CSS? | |
Hello, i had some problem with the below code. How to change the 'Click to Read More' and 'Click to Hide' function by just click 'Step' to show and hide? page.php <blockquote class="bigtext"> <p class="title"><b>Step 1</b><hr class="style1"></p> <p></p> <p></p> </blockquote> javascript <script> $(function(){ var animspeed = 950; // animation speed … | |
Dear All help me pls.. i am unable to fetch result in dropdown from database... connection.php $db = new PDO("mysql:host=localhost;dbname=test","root",""); ----------------------------------------- Add_student.php <tr> <th>City</th> <td><select name="st_city" id="st_city"> <?php echo get_option_list("city","City_id","City_name"); ?> </select> </td></tr> ----------------------------------------- functions.php function get_option_list($table,$id,$name) { $SQL=$db->query("SELECT * FROM ".$table." ORDER BY". $name); $get_list="<option value=0>Please Select</option>"; while($row=$SQL->fetch(PDO::FETCh_ASSOC)) { … | |
As it stands, the data elements are submitted to the database. But I need help figuring out two things: one, is how to show the new deptCode in the dropdown list of deptCodes and two, how can I clear the form after a successful submit? Below is the code that … | |
Is it possible to connect USB device in the HTML page? If yes then How I can? I want to integrate Boogie Board into a dynamic page with a question. | |
I decided to put my navigation section into another file and retrieve it via html includes, so it will be easier to service if changes need to be done , as the navigation section is shared amongst several sites. My index site used to work well, but now that i'm … | |
package Agents; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(name = "InsertAgents", urlPatterns = {"/InsertAgents"}) public class InsertAgents extends HttpServlet { protected void doPOST(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); try (PrintWriter out = response.getWriter()) { /* … | |
| |
i have a music site where i used ajax with server side php to load pages dynamically to prevent reload. this function works with different directories that are contains pages and also uses hash to show pages urls but i have one issue and that is my back and forward … | |
How Can I Detect IPAD MINI IN HTML5? | |
What is difference between UL and OL in HTML? | |
| hello,everyone i am making a registration page baesed upon php,codeigniter diificulity i am facing was when i try to make radio button or dropdown it misbehaves radio button's are not in single line but in different line so any one can help???? //my registration page <!DOCTYPE html> <html lang="en"> <head> … |
I am doing program in java .I have designed a jsp page which has 3 drop downlist's...country,state and district.I want to display the values in drop down list state when a country is selected...(for eg:-if india is selected,drop down list state must have only the name of states in india).In … | |
how can I select project from dropdown then execute query catching the value of the project selected I have the follow code using AJAX and JSP pages admin.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="java.sql.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; … | |
| Hello Daniweb fellows! I'm looking for a good guide to learn **step by step** how to convert an HTML/CSS layout with positions to a Joomla 3x Template! I design web interfaces but now I'd like to learn about this convertion for my future web projects! I don't like free templates... … |
Its my controller code <?php class Booking_Controller extends CI_Controller{ public function __construct(){ parent::__construct(); $this->load->model('Books_model'); } This is my model code <?php class Books_model extends CI_Model{ public function __construct(){ $this->load->database(); } public function get_restaurants() { $sql = "SELECT id, names FROM restaurants "; $query = $this->db->query( $sql ); return $query->result(); } … | |
I am new to CSS. I can not get CS code to work in a external file. The code works in the html file. Does any know of a test tool which will tell me if my path to the external file is correct. Thanks | |
Hi I have "performed" my frst venture into html5 video using the [URL="http://camendesign.com/code/video_for_everybody"]video for everyone[/URL] and it works well in IE, Opera, Saf, Chrome, FF. I have one small question - Safari (at least on my windows laptop) seems to want to download the whole darn video before it shows … | |
Hi to everyone, i am trying to display certain data onto some labels depending on the selection the user does from a combobox. The database consists of two tables, RegisterShipment and Shipments, where the RegisterShipmentID is linked to the Shipment Table by a Foreign Key. On the form i have … | |
Hello Guys, I have tried to make a Pure CSS Menu with Sub-Menus but I am stuck with one small (or big) problem. After I hover over my Link which has a Sub-Menu assigned to it, the Sub-Menu appears but if I try to go on it, it disappears. I … | |
My goal is to populate my HTML table with SQL results that I pull from the below PHP code that I have written. Keep in mind that in reality my hostname, username and password variables do have string data in them. The first block is my PHP where I am … | |
I want to resize my caroseul on click of a button. Below is the code that needs to be changed. Width: 100% needs to be changed to width 50%. I am using JQuery maybe there's a way using that but nothing works so far other than changing the CSS itself … | |
Hi everyone, am trying to save and display the text color after select change in php and html. After selecting Selfrating1 ie "Good", the textbox T11 suppose to change to "Green" color. After submit button the text color supposed to be save in mysql and display on the form. The … | |
Good day to all. I have a database in MS access and i need to access it using HTML. Can anyone help me to do this. Thanks. | |
In vb. Net application i have a combobox with properties- custome source autocomplete Dropdownstyle- dropdown I use string method to autocomplete combobox from custom source of database. I want to cleat text from the combobox after save button event. I use following code for that but its not working. Combobox.selectedindex=-1 | |
PHP is an object-oriented language, based (loosly) upon C++. It has classes, methods, member variables, and all that other good stuff. It runs on your web server, not in the client, but the HTML, JavaScript, and other stuff such as CSS blocks that it emits with its output commands are … | |
Hi, I'm a total hack with jquery and need some help. I've an html select list and a text area. The select has about 25 options in it. When a specific option is selected, I'd like to populate the text area with some text. Example: HTML: <label for="comments">Technician Comments: </label><textarea … | |
Good afternoon to all i am currently working on a logistics project, where in one of the forms the user needs to select a shipment number and other information related to the shipment. the form is made up of 4 dropdowns a textbox and a gridview as follows. **The Dropdowns … | |
I wasnt sure exactly what forum to put this in so i choose PHP since WordPress is made with PHP. I'm looking to have a video player on my website. Playlist so to speak but I also want "speed control" of the videos like youtube has. When the "speed" of … |
The End.