15,120 Topics
| |
hey guys. so i found the coding for submitting a form without refresh from a website( http://www.computersneaker.com/submit-a-form-without-page-refresh-in-php-using-jquery/) but its not working. i just copy pasted the code to test it out but it doesnt submit the data. I wanted to ask the owner but didnt find any commenting area. <head> … | |
When I run the code below it fails. I've run the exact same code without the ID appended to the url and it worked just fine. Am I appending it incorrectly? // CALLS THE PHPSLQAJAX_GENXML2 PAGE AND RETURNS VALUES function downloadUrl(url, callback){ var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : … | |
Sir I am using these codes to clear all textboxes in form <script type="text/javascript" src="jquery-1.7.1.min.js"> function clearboxes() { document.getElementById("my_name").value=""; document.getElementById("my_moba").value=""; document.getElementById("my_mobb").value=""; document.getElementById("my_add").value=""; document.getElementById("my_email").value=""; document.getElementById("my_myfax").value=""; document.form1.my_name.focus() ; } </script> Is there any way to run loop to clear all textboxes rather then writinng separte line for every textbox? | |
I've got a list of hyperlinks that have a specific class assigned to them of "single-location". I need to add an EventListener to my Google Map that when a hyperlink is clicked, it will call the correct function. Can anyone help me? | |
# The nature of this tutorial ... This tutorial is designed to walk you through DaniWeb's implicit (clientside) OAuth flow. This is not designed to be an introductory tutorial to OAuth, and we will expect that you are already familiar with the nature of OAuth and/or have read our tutorial … | |
Hi, I need to create a Add-on for firefox I have tried the following methods and it is working fine 1. Using XUL runner 2. Drag and Dropping the .XPI file in the Mozilla Firefox.(using XUL, HTML,CSS and Javascript). Can anyone tell me How to create an Add-on for Firefox … | |
Hi all, I have a function that I would like to return products based on a usermade filter via check boxes. Basically: > Each product has multiple data-attributtes, for example: data-brand="acer", data-price="2995", data-screensize="15.6", data-processor="intel" So say i'm lining up 40 products, the users need to be able to narrow down … | |
my question is how push menus from bottom to up are displayed. this is example site http://www.askaspension.gr/ i have no idea about that code. please help me. i want same as it as code in that web site | |
Hi, How can I pass my ID to fancy box when I click the image? When I use alert it show I success to get class attribute ".image" and show 1 for the id. But how come it's not working after I add $('#'+currentId).fancybox and the following code? This is … | |
I have a series of images which are enlarged in a popup.div over a blanket.div.I have also added a back/forward button to the popup.div to move from one enlarged image to the next/previous. The buttons and images do what I want but the blanket.div only appear with the first image … | |
Hi guys, I have come across something really confusing, so I wonder if somebody can help me with that. I wanted to increment the width of a container using this version of the `.css()` method: `$( "div.example" ).css( "width", function( index )` as per http://api.jquery.com/css/#css-propertyName-functionindex--value So here is my html: … | |
Hi everybody newbie here need help from all the master I want to make loading status using combobox onchange i have code like this <table> <th>Filter By test</th> <tr><td>Contact</td> <td><select name="dropdown" id="dropdown"onchange="showUser(this.value)"> <option></option> <option value="0">All</option> <option value="1">Support</option> <option value="2">Software Development</option> <option value="3">Software Consultant</option> </select> </td></tr> </table> </form> <div class="clr-div"></div> <div … | |
I am having trouble on how will I solve this problem. I want only to refresh the value of listbox after adding a value from textbox using onclick() on an image. <form id="UpdateDetails"> <input type="hidden" name="id"> <input id="adnew" type="text" autocomplete="off" name="addnew" class="xx"> <img id="img" onclick="addnew()" src="images/icons/add-icon.png" style='padding:0 0 0 10px;height:15px;width:15px;cursor:pointer;' … | |
hi all, I have common jQuery function for drag and drop and two div tags. Both div tags have different ids but both containing elements of identical ids. I have a block and a placeholder for each so when i drag 'block1' olny placeholder of first table should be blink … | |
I was looking through the articles and couldn't find anything to help me. When the user clicks submit and the name is empth I want to display a messege next to it saying username is empty. I van get the message to display but it refreshes and goes away again. … | |
i have two exrcise jsfiddle.net/Er2Ef/10 jsfiddle.net/Er2Ef/11 and i have common js file for above two exrcise and i am going to run this exrcise on one html page that is seems like this fiddle jsfiddle.net/Er2Ef/9 so how can i run this two ercise in one page and my real problem … | |
I'm trying to get a bit of code to work. I need one button that toggles control of audio to play and rewind but the script doesn't work. // Create Media object from src my_media = new Media(src, onSuccess, onError); // Play audio my_media.play(); $('#playBtn').hide(); $('#stopBtn').show(); // Update my_media position … | |
Hello, I am looking for a calendar to use with my website that I can add tasks/appointments into the db and have them show on the calendar. I would like to edit on the fly either by using a page to create the task/appointment or via the calendar using ajax. … | |
I am sending data from index.php fiel to another exec.php file using $.ajax method and executing the data on that file now when i am sending back output data using jsonp callback i am getting incorrect data on index.php. I am also writing same output data into a txt file … | |
I am trying to move my html website to PHP but the menu's drop-down isn't working on the PHP version but does work on the html version but its the same code. But it doesn't do the dropdown anymore, anyone know what i'm doing wrong? **This is the index.php**: <!DOCTYPE … | |
this one is driving me nuts so I hope you guys can school me a bit. My goal is to create a multiple-option dynamic pricing sheet for a product page. The concept I have is that all the information for the product is inserted in the database via relative tables. … | |
I want to get the width and height of an image before uploading using javascript. I used The code shown below. But its returning 0 value <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script> function form_image() { var v=new … | |
I've followed Googles article [here](https://developers.google.com/maps/articles/phpsqlajax_v3?csw=1) and having a working map on my XAMPP installation. I'm trying to take it a bit further and I want to use the "type" attribute from the database to show only specific markers based on the buttons that I have. I have a list of … | |
Hello fellow coders i come to you in a time of need. I have an inline popup containing html5 videos. i added a stop('#video'); to the "close popup" function and this works, but only in Chrome and Opera, not in Firefox and EI, which leads me to a sub question, … | |
Hi All I have to create a filtering function for a webshop, and need to do it client side for performance reasons. I load in x number of product, so I can get to them in the DOM - And after this I have a number of checkbox groups which … | |
Here is the code, how would i go on about making the bullets fired (size 6x6 pixels) collide with the blocks currently on the map and with enemies (48x48 pixels) which are to be implemented? Desperatley need a solution! // inner variables var canvas, context; // canvas and context objects … | |
I'm working on Asp MVC 4 framework. in my "abc" page's layout file i added fb login dialog box and fb like button. `<script>(function (d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if d.getElementById(id))return;js = d.createElement(s);js.id = id;js.src = //connect.facebook.net/en_US/all.js#xfbml=1&appId=appid";fjs.parentNode.insertBefore(js, js); } (document, 'script', 'facebook-jssdk'));</script>` and now i added a partial … | |
Hello, I have been playing around with a script. It is just a start of something like a really lame version of the street fighter layout. I am having trouble with figuring out how to get the character to move the way I want. I have mapped the WSAD keys. … | |
Hi folks, I've been inactive for web developing for last 4-5 years.. I lost the will to learn programming and become programmer... after long time, I realize that I should fullfill my dream.. but, in 4-5 years timespan, the technology is so much changed that I don't know where to … | |
Hey daniwebbers, I need to have some Javascript done, and since I'm not a coder myself I thought some of you might have time to help me out! Basically, I need a script that contains a single-line user input form. When the user then clicks a button - which I … |
The End.