15,688 Topics

Member Avatar for
Member Avatar for nadiam

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 …

Member Avatar for patk570
0
950
Member Avatar for AMADH

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

Member Avatar for AMADH
0
343
Member Avatar for griselndria

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

Member Avatar for diafol
0
765
Member Avatar for nadiam

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

Member Avatar for Gaetane
0
3K
Member Avatar for MaddTechwf

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') : …

Member Avatar for MaddTechwf
0
208
Member Avatar for akmallaa

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 …

Member Avatar for peter_budo
0
568
Member Avatar for tqmd1

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?

Member Avatar for Troy III
1
346
Member Avatar for MaddTechwf

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?

Member Avatar for MaddTechwf
0
164
Member Avatar for Dani

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

2
1K
Member Avatar for kavitha_1

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 …

Member Avatar for james6754
0
72
Member Avatar for klemme

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 …

Member Avatar for klemme
0
187
Member Avatar for Raju_3

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

Member Avatar for stultuske
0
129
Member Avatar for devianleong

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 …

Member Avatar for pixelsoul
0
109
Member Avatar for furlanut

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 …

0
70
Member Avatar for Violet_82

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

Member Avatar for Violet_82
0
450
Member Avatar for Wendy_1

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 …

Member Avatar for ryantroop
0
140
Member Avatar for Jemuel

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

0
158
Member Avatar for jacob21
Member Avatar for Ramji_1

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 …

Member Avatar for diafol
0
242
Member Avatar for ZeroEddy

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

Member Avatar for ZeroEddy
0
250
Member Avatar for erum

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 …

Member Avatar for pritaeas
0
261
Member Avatar for hiren_1

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 …

1
122
Member Avatar for Bestpractice

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 …

Member Avatar for The Diamonds
0
280
Member Avatar for diafol

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.

Member Avatar for pritaeas
0
381
Member Avatar for patk570

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

Member Avatar for patk570
0
198
Member Avatar for Sanjay_6

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 …

Member Avatar for pritaeas
1
225
Member Avatar for BenjiButton

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 …

0
148
Member Avatar for oh2labs

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

Member Avatar for oh2labs
0
1K
Member Avatar for divyakrishnan

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 …

Member Avatar for divyakrishnan
0
220
Member Avatar for kazp

<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="http://ajax.googleapis.com/ajax/lib… </script> <script type="text/javascript"> $(document).ready(function () { $("button").click(function () { $("p").css("background-color", "yellow"); }); }); </script> </head> <body> <form id="form1" runat="server"> <h2>This is a heading</h2> <p style="background-color:#ff0000">This is a paragraph.</p> <p style="background-color:#00ff00">This is a paragraph.</p> <p style="background-color:#0000ff">This is a paragraph.</p> <button>Return background-color of p</button> </form> …

Member Avatar for kazp
0
161

The End.