15,694 Topics
![]() | |
I am using asp.net 4.0 and c#. I have a page at work that is used one time per year by one person to run several stored procedures on January 1st. In order to make it more interesting (since she has to work every New Year's Day) I try to … | |
Sir, I am using these codes. <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript"> function checkEmail() { var email = document.getElementById(xemail); alert(email); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (!filter.test(email.value)) { alert('Please provide a valid email address'); email.focus; return false; } } </script> <tr> <td width="40"><label>Email</label></td> <td width="40"> <input type="text" name="email" id="xemail" value="<?php echo $myemail; … | |
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script type="text/js"> $(document).keydown(function(e){ if (e.keyCode == 37) { alert( "Left"); return false; } }); </script> How to make this work? I am using Firefox and don't I get this working. | |
Hello All: I am using a div to simulate a checkbox effect; thus, with each click of the div, my jquery displays a different option (in my case: whether the user wants to select a Monthly or Yearly Subscription). The Jquery code: $(document.body).ready(function () { $(function () { var main_obj_id … | |
How come the last condition is executing, instead of the first ? Why isn't the while loop working ? document.prompt("hello there") if (i==2 || i==4 ) { document.write("smart"); while(i>6){ } if(i=8){ document.prompt("can you ask me again"); }}else (i>=9){ document.write("you are a lemon"); } //document.write(" I want to buy an apple … | |
hi, i want to change the image class on click on the image, i am also using radio input, here is my fiddle, check out and tell me what is wrong? [http://jsfiddle.net/Avik/7aKY3/1/](http://jsfiddle.net/Avik/7aKY3/1/) | |
Okay so i have page1.php which has anchor tags. what i want to happen is that when, for example, Page 2 is clicked it directs to page2.php but also will get data from database and display the data in the textboxes in Page 2. I know that ajax will be … | |
Hello, I am trying to add a 2nd tab area to the jquery tabs, I want the new content area to appear before the tabs then the 2nd content to appear. My plan is to have images appear before, and both be controlled by the tabs. <!doctype html> <html lang="en"> … | |
Could anyone help me?I have the code below to insert,edit and delete data in database from an excisting table.Data are added in database but not edit and delete. What should i do? jQueryOb(function new_dialog() { var new_dialog = function (type, row) { var dlg = jQueryOb("#dialog-form").clone(); var fname = dlg.find(("#fn1")), … ![]() | |
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') : … | |
i want to develop android app using html, css & jquery mobile in dreamweaver CS6 that integrated with phonegap. My app will send & receive data from database in remote server. But the problem is how to connect to the database in remote server? this is because phonegap just support … | |
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, Need Suggestion for hiding a div from 9Pm to 9Am. ![]() | |
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 .aspx form and I wanted to put jquery validation over it ..some validation already been working like minlength: "Your password must be at least 5 characters long written in code attached ..I want for first name and last name too for 5 characters .. Please reply <%@ Page … | |
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 … | |
![]() | prompted by the discussion on antoher thread... This has stopped working (jQuery/OAuth): http://dw.diafol.org/en/dw-box/ Although this still works (php/no OAuth): http://dw.diafol.org/en/dw-badge/ When I start the ball rolling with a click on the jQuery example, I get the authentication box and nothing else. Subsequent clicks bring up the box again. |
The End.