2,530 Topics
| |
i have table with id myTable first tr is like: <tr bgcolor=#ff9966 id='0'> <td>Skill</td> <td>Skill Type</td> <td>Total Experience Year</td> <td>Total Experience months</td> <td>Last Used In</td> <td>Description</td> <td>Modify</td> </tr> when I am inserting values of one array into this table using for loop with below code: var html=""; var tr_id=/* I … | |
I'm trying to get the text "Student 1, " to display in a text box but also have it as a link back to the student's page. This code displays only the url I want but not as a link and doesn't display "Student 1 " function getFavourite() { var … | |
Ok so im using hubspot for inbound marketing and the have a thing called page grader that finds errors in your page. The most common warning is page has images without alt text. Since im dealing with a really big drupal site and dont want to go through every image … | |
hey guys. im trying to show a dropdown list and hide input text when an option in another drop down list is selected. dropdown <select name="table-type" id="select-t"> <option value="" disabled selected>Types of Tables</option> <option value="Round Table" id="rt">Round Table</option> <option value="Banquet Table" id="bt">Banquet Table</option> <option value="Square Table" id="st">Square Table</option> </select><br> No. … | |
I hope I can ask this here, but really I just want a watercooler discussion on the topic. I am a hobbyist programmer, been using PHP/MySQL/Apache for years. I've use jQuery and strait Javascript as well. I do web design, have built websites both using frameworks like Wordpress, as well … | |
I'm just learning jquery , The thing is that how can I make jquery and php contact each other in one single page ? if there is an example I really appreciate it! | |
hey guys. so i was thinking of creating this page that has 2 different tables : table1(table1 filled with names that are populated from database but lets not think about that part for now) and table2(empty), table1 rows are clickable and when doubleclick on one row the data in that … | |
If u visit https://tweetdeck.twitter.com/ and you login, u will see the left sidebar with a textbox. The textbox can post new tweet, can also send direct message ans at the same time also reply to a tweet. How can I achive this in jquery. Thanks | |
hello everyone! I recently found this jquery calendar plugin called Calendario and am wondering if anyone here has ever used it or even heard of it. [Calendario jquery plugin](http://tympanus.net/codrops/2012/11/27/calendario-a-flexible-calendar-plugin/) I am trying to integrate it into this page, im trying to create and have the data from my database : … | |
Hi guys, I want to hover all the images and show the image with colour when mouseover (remove hover when mouseover). I hover it by using this line of code and it's work fine but I do not know how to add mouseover method to change fadeTo value become (400,1): … | |
hi I have 1 iframe which includes another iframe it and I want to auto height both frames whenever any activity peform in the iframe it load the new page and auto height according to the 2nd (inner iframe) the code which i am currenlty using in main page and … | |
Hey I'm new to the website but I've been a friend of Dani for a little over a year and attend the DaniWeb meetups. I know I'll need coding help and as a noob I'll be seeking out the help of you experts in javascript w/ jquery & ajax, php, … | |
Hello everyone. I have juste started creating my website and I need some help. I have found a thread about this subject but it have been dead since three months back so I didn't get what I wanted from there. What I need help with is: I want to create … | |
I have a datalist, and by clicking it, the whole database records pop up. What I want to do is, which ever record is clicked ONLY that record should pop up. **This is my code for the data list and the pop up of all records.** .MY_POPUP_INNER_SMALL { background: none … | |
| **// EDIT 2014-04-07 //** New version (1.0.3) posted at the [bottom](http://www.daniweb.com/web-development/php/code/476623/ajaxed-linked-dropdowns-select-fields-for-volatile-data#post2082327) Demo Page: http://demos.diafol.org/ajax-linked-dropdowns.php *********************************************** Hello All. Been playing around with more linked dropdowns (select form fields), following the code snippet posted for static-ish data [here](http://www.daniweb.com/web-development/php/code/475238/linked-dropdowns-select-fields-for-static-ish-data). The static-ish version is of limited use (or of no use!) if data in … |
This was an existing script written in PHP and Jquery, basically, what it does is the calculations of price and quantity for a Point of sale system. I made a few changes so that the end-user can enter the price, as they enter the quantity amount. Now, after I made … | |
Hello! Is it possible to add autocomplete feature to input field with data loaded from local storage? <input type="text" id="medicine" /> <script type="text/javascript"> $(document).ready(function($){ var medicine = localStorage.getItem('medicine'); console.log(medicine); $('#medicine').autocomplete({source:medicine, minLength:2}); }); </script> I know thta 'source' requires an url, I succeded to make autocomplete with data from mysql. But … | |
<style> .msgBox{ position:absolute; z-index:10; border-radius:5px; border:1px solid #F5F5F5; background-color:#DDD; box-shadow:1px 1px 5px #999; overflow:hidden; display:none} .msgBox ul, .msgBox li{ list-style:none; padding:0; margin:0; border:0} .msgBox .title{ border-bottom:#AAA solid 1px; padding:5px; background-color:#CCC; font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:bold; text-shadow:1px 1px #DDD; font-size:12px} .msgBox .msgContent{ border-top:#F5F5F5 solid 1px; padding:5px; text-shadow:1px 1px #F1F1F1; … | |
I have the following scripts within my page, but jQueryUI is not loading ? I know the UI core element is needed. If you want the accordianUI you need the accordianUI script file, that is missing (*although I don't want the accordianUI element, that was only an example*) Is core.min.js … | |
Hey everyone, I have a couple of questions and I'm not sure the best way to ask them..I have a "slideshow" feature on a site I'm working on and when I place the jquery external links for the "tabbed" section, the slideshow doesn't work. It just places the images on … | |
Hello every one i have an issue that I have a single page website which includes an iframe in it, when iframe load it contains a table which i want to hide and this table also repeats on multiple pages so I want to add a code in my main … | |
Hi guys so i have 2 tables in my page. One table would be populated by names from database and another remains empty for the moment. so what i want to be able to do in this page is that names can be dragged and dropped from the first table … | |
I have two tables, one being populated by data and another empty. I am using draggable and droppable jquery ui so I can move data from the first table to the other. and its working perfectly. Now, I am trying to clone the "tr" element of the second table where … | |
I have arrays and variables in JQuery and I want to know that Can I POST both arrays and variables from single $ajax jquery request to my php page. If yes then How will I post data from Jquery and how will i handle in PHP page. var get_id = … | |
<form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> <option value="0">Select Week</option> <option value="1">This Week</option> <option value="2">Last Week</option> <option value="3">2 Weeks back</option> </select> </form> <script type="text/javascript" src="js/jquery-latest.js"></script> <script> function showValues() { var str = $( "form" ).serialize(); … | |
Hello i am creating a small project. is there any tutorial that could help me . i have image gallery. it has main categories and then sub categories , i want to upload the images to respective sub category under main category after choosing categ and sub categ from list … | |
hey guys, so im creating a page using php html js etc and what i wanna do is have two tables on that page. the first table is populated by data from database(easy) the second table is tricky for me. in the second table i want to be able to … | |
Hello the code below will fetch all unaswered questions from the db. But when there is only one question, when next is done, it doest submit, and gives a blank page.If more than 1 questions it works fine. Please help. Thank you <?php session_start(); //uri get from index $qu=$_GET['qu']; $userid=$_SESSION['userid']; … | |
Hi, I am trying to create a jquery slider with navigation button and arrows, but my slider is not stopping at the last image nor stopping at the first image. See my fiddle for an example: [http://jsfiddle.net/c2mKp/](http://jsfiddle.net/c2mKp/) Any help is welcomed. HTML: <!-- Jquery Slider --> <div class="jquery-slider"> <div class="wrap"> … | |
Hi there, I need a help on how to pass php variable to another page when the checkbox is clicked. so far i hav this <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $('.cuttingCheckbox').change(function() { if (this.checked) { $.post('fabProcess.php', { headmark : $($row[HEADMARK]).val(), headmark_id : $($row[ID]).val() }, function(response){ this.setAttribute("disabled", true), alert(headmark,headmark_id); … |
The End.