15,127 Topics
| |
I want to make a select box like pop up item, I come accross with this link http://tympanus.net/Tutorials/NaturalLanguageForm/ In that they have done select box overwrite method. when clicking on the food it opens in popup about list of the items. can anyone please tell me how to do similar … | |
how to `.replace()` the `'error'`? only use `a` and `b` var str = 'bla bla anything error anything bla bla'; var a = 'anything', b = a; im not good with regular expressions so im asking for how to do this with variables so i can set them up all … | |
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, … | |
| Hi all. I have this code: <html> <title> </title> <head> <script> function add(){ var first=document.getElementById("form").value; var second=[first]; for (i=0;i<second.length;i++){ var third=second.join("+"); } document.one.answer.value=third; } </script> </head> <body> <input type="text" id="form" onChange="add()"/> <form name="one"> <input type="text" name="answer"/> </form> </body> </html> What I want to do is allow the user to enter … |
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 … | |
Is there a way to load a page for a minute and then fetch content of a page. I am using new DOMDocument method to fetch content from a page which is working fine. Problem is that i want to load a page for a minute because the page from … | |
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 … |
The End.