15,127 Topics

Member Avatar for
Member Avatar for thilipdilip

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 …

Member Avatar for diafol
0
148
Member Avatar for nouth

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 …

Member Avatar for diafol
0
7K
Member Avatar for hallianonline

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 …

Member Avatar for rpv_sen
0
252
Member Avatar for carl.potak

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

Member Avatar for happygeek
0
272
Member Avatar for david.roun.7_1

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 …

Member Avatar for david.roun.7_1
0
196
Member Avatar for momal

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 …

Member Avatar for momal
0
316
Member Avatar for burhanahmed92

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 …

Member Avatar for pritaeas
0
307
Member Avatar for johndohmen1963

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

Member Avatar for johndohmen1963
0
399
Member Avatar for Thodoris

I wanna create a new 3d array levelxyz from the two bellow 2d arrays. var levelxy = [ ["-", "-", "*", "-", "-", "*", "-", "-", "*", "-"], ["-", "-", "-", "-", "-", "-", "-", "-", "-", "-"], ["-", "*", "-", "-", "*", "-", "-", "*", "-", "-"], ["-", "-", …

0
97
Member Avatar for tibormarias

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

0
168
Member Avatar for vizz

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 …

Member Avatar for iamthwee
0
274
Member Avatar for mehul12345

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 …

Member Avatar for iamthwee
0
1K
Member Avatar for Mr.Pink

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 …

Member Avatar for Mr.Pink
0
177
Member Avatar for RikTelner

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.

Member Avatar for RikTelner
0
105
Member Avatar for Douglas_2

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 …

Member Avatar for radhakrishna.p
0
374
Member Avatar for malatamil

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

Member Avatar for malatamil
0
197
Member Avatar for diafol

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

Member Avatar for diafol
3
1K
Member Avatar for IsaacMessi10

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 …

Member Avatar for IsaacMessi10
0
293
Member Avatar for dhruvarora227

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 …

0
100
Member Avatar for ravi142

Hello How can i do Multiple dropdown box that can relation to each other dynamicaly Using Javascript Any one can suggestion me. Thank You.

Member Avatar for pritaeas
0
54
Member Avatar for eburlea

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 …

Member Avatar for eburlea
0
2K
Member Avatar for cjohnweb

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 …

Member Avatar for LaxLoafer
1
191
Member Avatar for juegosfrivs

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

Member Avatar for juegosfrivs
0
272
Member Avatar for malatamil

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 …

0
122
Member Avatar for Siberian

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 …

Member Avatar for Siberian
0
48
Member Avatar for Siberian

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 ?

Member Avatar for Siberian
0
159
Member Avatar for Andrew_13

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 …

Member Avatar for JorgeM
0
524
Member Avatar for leap_coder

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

Member Avatar for JorgeM
0
271
Member Avatar for Its.Obi

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

Member Avatar for Marcel_1
0
195
Member Avatar for geneh23

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 …

Member Avatar for radhakrishna.p
0
374

The End.