6,574 Topics

Member Avatar for
Member Avatar for abhi10kumar

I have Canvas page which displays canvas div vertically. Now, I want to horizontally oriented; I tried but can't success. Below is the code: var ctx; var extId = "fglkbiekhcllcfgdmbcadcfdgfgigoaj"; jQuery(document).ready(function() { /* Extensiion ID of the Chrome App. */ /* Getting the Port Reference and Setting Max XY*/ var …

Member Avatar for diafol
0
205
Member Avatar for phoenix254

What are the differences between **htmlspecialchars()**and **htmlentities()**. When should I use one or the other?Explain me in poor words

Member Avatar for diafol
0
266
Member Avatar for vizz

How to flip multiple div when clicked on menus? Current code is working for only last two div's. [code in work on jsfiddle](http://jsfiddle.net/Lucdd/) **HTML** <ul class="nav"> <li><a href="#home">home</a></li> <li><a href="#about">about</a></li> <li><a href="#work">work</a></li> <li><a href="#contact">contact</a></li> </ul> <section class="container"> <div id="card"> <div class="front flipper" id="home">home</div> <div class="back flipper" id="about">about</div> <div class="front flipper" …

Member Avatar for Jad4
1
984
Member Avatar for lewashby

In an php/html document could I create a loop to create html table rows as long as there is a rows to be read from a MySQL database table? I could then populate the html table with the data but I first need to know if I can make a …

Member Avatar for lewashby
0
3K
Member Avatar for Latrell_vie

i have a restaurant dropdown menulist, when sb clicks the one of the various meals i want a picture of it to <img id="menupic"src="picFold/actualPic.jpg" alt="Foto der Men&uumlliste">. I only had partial success , who can help me finalize this task ? thx sofar : menu.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for Latrell_vie
0
262
Member Avatar for Latrell_vie

Urgently need a menu dropdown WITH IMAGES for a restaurant website for its food menu. Looked for jquery on the internet,couldnt find one, only complete wordpress themes or some without images , but i'm looking for javascript or jquery or anything else to implement since the website is not on …

Member Avatar for Latrell_vie
0
261
Member Avatar for rpv_sen

Hi I am trying to clone a row with dependent dropdown. first row is working fine. Once i click add row button, if i select the project option its not working on client select option. can anyone please help me to fix. Note: I used trying using id="client[]" and id="project[]" …

Member Avatar for diafol
0
992
Member Avatar for hell hansen

Hi Guys, can someone explain me, the advantage using .html or .php Look i know exactly what each extension mean, what im trying to get is in term of website performance. I know that we use it every time but i thing no one ever think about it. Please some …

Member Avatar for hell hansen
0
189
Member Avatar for lewashby

My head is starting to hurt just thinking about all the possabilities and impossabilities of mixing html and css with php and I'd like to understand how's this works. I did a php project for a guy one time and I came close to shooting myself in the face and …

Member Avatar for almostbob
0
363
Member Avatar for jpratik21

I am trying to filter/parse HTML tags mentioned below to get the desired output (mentioned). I have tried so far with `sed` & `grep` but was only able to extract the content between the starting and closing tags. However, I want to be more specific like below I have mentioned. …

Member Avatar for rch1231
0
2K
Member Avatar for ramsiva

newTextBoxDiv.after().html('<div id="hoteldiv' + counter + '">'+'<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][name]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][number]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][address]" id="textbox' + counter + '" value="" >'+'<br><br>'+ '<input type="text" name="tripdetails[0][hoteldetails][0][contact][' …

Member Avatar for ihelpyou
0
274
Member Avatar for James_43

Hi Guys, As part of an online store, I have a dropdown box where the user selects a size. If the user selects size L then the 'add to cart' button needs to link to a page different than if the user selected size M. I figured out that I …

Member Avatar for James_43
0
306
Member Avatar for kgenn

[CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.oledb" %> <%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="vb" runat="server"> Sub BindGrid() Dim connection As OleDbConnection connection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\emong\Documents\Visual Studio 2008\WebSite1\App_Data/dbLupon.mdb") connection.Open() Dim …

Member Avatar for creiglee
0
559
Member Avatar for Hendo

Sorry, not sure how to even word the article title...it's been so long since I did HTML or PHP. I have a small web page that I wrote several years ago. It's all HTML/CSS with one segment of PHP that is used to call to my database to populate scores …

Member Avatar for Hendo
0
198
Member Avatar for Mian_4

i have two combobox and i have two database table in sql server 1st table name is Province and 2nd table name is City if i select province in my 1st combobox then show all cities against selected province show in the 2nd combobox when we click on combobox dropdown …

Member Avatar for Mian_4
0
434
Member Avatar for dimitris.dimitri.73

Dear forum , i am facing a problem when i try to populate my combobox item from a dropdownlist in html. my code is the following which executes witount errors: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim I As Integer = 0 Dim NAME As String …

0
162
Member Avatar for gkumaravel

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 …

0
184
Member Avatar for uistreet
Member Avatar for Lau_1

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 …

Member Avatar for diafol
0
355
Member Avatar for Mohammad_20

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)) { …

Member Avatar for diafol
0
218
Member Avatar for joshmac

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 …

Member Avatar for diafol
0
309
Member Avatar for abhi10kumar

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.

Member Avatar for abhi10kumar
0
132
Member Avatar for Latrell_vie

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 …

Member Avatar for Latrell_vie
0
304
Member Avatar for Justin_16

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()) { /* …

Member Avatar for jwenting
0
292
Member Avatar for AntonyRayan
Member Avatar for Aqeel_1

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 …

Member Avatar for diafol
0
782
Member Avatar for pro-tek
Member Avatar for AntonyRayan
Member Avatar for anmol.raghuvanshi1

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> …

Member Avatar for cereal
0
12K
Member Avatar for Bijiann

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 …

Member Avatar for edgar222
0
6K
Member Avatar for edgar222

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; …

0
163
Member Avatar for 86fallen#2019!

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... …

Member Avatar for 86fallen#2019!
0
221
Member Avatar for falak_1

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(); } …

Member Avatar for cereal
0
1K
Member Avatar for potterrick2

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

Member Avatar for potterrick2
0
97
Member Avatar for maxelcat

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 …

Member Avatar for Cheerful_1
0
433
Member Avatar for zamm65

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 …

Member Avatar for zamm65
0
155
Member Avatar for donoskaro

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 …

Member Avatar for creiglee
0
408
Member Avatar for Ian_7

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 …

Member Avatar for diafol
0
2K
Member Avatar for michael.james.90475

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 …

0
186
Member Avatar for Sophia_1

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 …

Member Avatar for Sophia_1
0
590
Member Avatar for choeychoco

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.

Member Avatar for skaa
0
68
Member Avatar for Satyam_1

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

Member Avatar for Satyam_1
0
257
Member Avatar for rubberman

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 …

Member Avatar for TexWiller
3
2K
Member Avatar for rsleventhal

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 …

Member Avatar for JJenZz
0
2K
Member Avatar for zamm65

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 …

Member Avatar for Santanu.Das
0
224
Member Avatar for Chris920

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 …

Member Avatar for Chris920
0
576
Member Avatar for WebMedia_1

Hi everybody, pls i need help here. i ve a video player and i want to populate video on it from mysql database, here is my code. <ul id="playlist1" style="display:none;"> <li data-thumb-source="assets/img/ddd.jpg" data-video-source="assets/video/ddd.mp4" data-poster-source="assets/img/ddd.jpg" data-downloadable="yes"> <div data-video-short-description=""> <div> <p class="minimalDarkThumbnailTitle">ddd</p> <p class="minimalDarkThumbnailDesc">dddd.</p> </div> </div> <div data-video-long-description=""> <div> <p class="minimalDarkVideoTitleDesc">dddd</p> <p …

Member Avatar for WebMedia_1
0
7K
Member Avatar for bhaskerlee

I want to show my custom control(eg: `monthcalendar`) as a drop-down (popup) window. One option is to use `ToolStripDropDown` and `ToolStripControlHost` as the second example in [msdn sample](https://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripdropdown(v=vs.110).aspx). Is it recommended to use ToolStripDropDown for controls other than the ToolStrip items ?

Member Avatar for bhaskerlee
0
190
Member Avatar for hwoarang69

Take a look at the attached image to see what I am trying to do. There will be two images. Images1 is what I want. Image 2 is what my code does. The issue is the stuff inside link are not center. ![problem.png](/attachments/small/3/9ee3554947e5bf1fae663ff6b38a61e5.png "align-left") Html code: <div id="table"> <table> <tr …

Member Avatar for Internetum01
0
272
Member Avatar for Avani Nimavat

I have used one dropdown and three panels. Three panels are inside the updatepanel and the dropdown list is outside the updatepanel. I have initially hide the panels. I want to make one of the panels visible as per the selected item in the dropdownlist. The problem is when I …

Member Avatar for tarunap
0
3K

The End.