15,120 Topics
| |
Who can help me with the folowing I have javascrip variable and a php datatable And i wand to read the datatable with the javascript variable here is the code i have if(!isset($_POST['bewerk_gegevens'])) { ?> <script language="javascript" type="text/javascript"> var newland = document.getElementById("geboorte_land").value; if ((newland != "" && newland != "Duitsland") … | |
I wanna create a new 3d array levelxyz from the two bellow 2d arrays. var levelxy = [ ["-", "-", "*", "-", "-", "*", "-", "-", "*", "-"], ["-", "-", "-", "-", "-", "-", "-", "-", "-", "-"], ["-", "*", "-", "-", "*", "-", "-", "*", "-", "-"], ["-", "-", … | |
Dear Readers! I would like to ask your kind help about showing just the selected markers in Google Maps API V3. I have a HTML select -> <select onchange="appartments()" id="selectField"> <option value="appartment1">Choose one appartment...</option> <option value="appartment2">1052 Budapest, Galamb u. 3.</option> <option value="appartment3">1052 Budapest, Régi posta u. 11.</option> <option value="appartment4">1052 Budapest, … | |
My client is using [this iView slider](http://iprodev.com/iview/index3.html) He wants to make it responsive & fullscreen. He don't want to change slider as he likes transitions of this slider. I'm trying hard but images are not working as responsive. please help (images are 1600 x 1067) <div class="container"> <div id="iview"> <div … | |
i need help creating an pplication to calculate flooring costs. The application should allow the user to enter the room length and width in metres, and select a type of flooring from a set of radio buttons (see Figure 1). The program should include the costs for the different types … | |
Just wondered if this code could be optomiosed in anyway? It works great, just wanted to make sure there weren't any ways to simplify this or if there are any obvious errors in the markup. Asking primerly because of that second call in the first function, not sure if it's … | |
http://earljones181.files.wordpress.com/2013/08/flashxml_web_design_by_dfever-d2zb7sh.jpg How do I make a div that pops out of his parent, but sticks with parent? Like the green menus. | |
I am using the Formidable Pro Wordpress plugin and I am trying to figure how to achieve the following: I need the users gps location in two form fields when a check box is clicked. I have two scripts and have no idea how to combine them. First gets the … | |
am new to php any one know about to display dynamic title per pageand also to display meta keywords and description.how to do that please give some idea or you have any codes share with me | |
| **// 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 … |
onsubmit return false still submitting form HTML: <!DOCTYPE html> <head> <script src = "Scripts/script.js"></script> </head> <body> <form action = "http://posttestserver.com/post.php" method = "post" onsubmit = "return age()"> <label for = "dob">Date of Birth</label> <input class = "TextArea" type = "date" id = "dob" name = "dob" required/> <br/> <p><span id … | |
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 How can i do Multiple dropdown box that can relation to each other dynamicaly Using Javascript Any one can suggestion me. Thank You. | |
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 … | |
I have a PHP script that opens a port and asks the server if it is running, with PHP I echo a "Server Running" or an error - I want to access this script with JQuery/AJAX. Then on the website, I have a little box on the side of the … | |
<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 one dropdownlist in that i want to display some categories. and second is subcategory in checkboxes ,while selecting any category from dropdownlist that related subcategory should display in checkbox, after that whatever i need to select in checkbox values to store in database. here is my code: Main … | |
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 … | |
var acorn = document.getElementById("boxa"); var outputResults = acorn.childNodes; document.write(outputResults); My goal is to write all the child nodes within the id=boxa, that is not working ? | |
I'm not very familiar with code but am stuck with a project attempting to take the javascript variable from a webpage and pass it into a web-based application (Lectora) to use further. The application allows External HTML Objects to achieve this but I do not know much on topic beyon … | |
I have come up with a form validation javascript function.But it always return true although there are empty text fields.Why is that?Following is my code. HTML Form <form method="post" action="operation.php" name="form1"> <label>Location Name:</label><input type="text" name="name"/> </br> </br> <label>Latitude:</label><input type="text" name="age"/> </br> </br> <label>Lontitude:</label><input type="text" name="addr"/> </br> </br> <input type="submit" value="Add" … | |
Hi, How to enable proxy through javascript. when you apply a proxy in IE or any other web-browser it doesn't apply the proxy to javascript. I need to know if there is any method to force javascript run through the applied proxy in web-browser. Thanks | |
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 … | |
Alright, so I found a tutorial on how to use lists to make a "TreeList" type thing, basically a list, ordered or unordered, that has a nested list that is collapsible. However, it doesn't seem to be working for me. Here's some code that I'm sure you will figure out. … | |
Alright so I want to Display a Browser Not Supported Message if the user is using IE 9 or less. Yes, I am limiting the users, I know. I want this done in JavaScript ONLY. Anyway, I have found a way that checks for IE. If 'ie' = null the … | |
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 … | |
Following code of animated menu is working well,little bit, but when mouse pointer is over one list element, items inside all other list elements are animated. I want to animate, items inside hovered list element only. if mouse pointer is over **about us**, animate => div items inside **about us** … | |
Hi everyone, I have one-field form on my website, which is supposed to be filled with barcode number. It was functional until few days age when the need emerged for the auto-submit. As you can see, I have to make script which will automatically submit form when data is filled … | |
function addRow(id) { var row = $("#rows").val(); var rows=parseInt(row)+1; var sendString = "rows="+rows; $("#rows").val(rows); $.ajax({ type: "POST", url: "addrow.htm", data: sendString, success: function(msg){ $("#tr_"+row).after(msg); loadDatePicker(); } }); } function deleteRow(id) { /* var space_number_arr = id.split("_"); */ var number = id; var deletedRows=$("#deletedRows").val(); deletedRows=deletedRows+number+","; document.getElementById("tr_"+number).style.display='none'; $("#deletedRows").val(deletedRows); | |
Hello, I'm having some trouble with a £ sign, it's being displayed to the user as the <?> question-mark-in-a-black-diamond icon. I have an SQL Server database with a £ in a table. (Collation Latin_General_C1_AS which is analoguous to 8859-1) I have a PHP script which retreives this record without issue … |
The End.