15,698 Topics

Member Avatar for
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
285
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
230
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
162
Member Avatar for MaddTechwf

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 …

Member Avatar for diafol
0
170
Member Avatar for Peter_13

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

0
111
Member Avatar for Mallika_P

Hi., I'm using scrolling content using Tinyscrollbar., its working but when contents are large its not working. I checked the steps in plugin., touchmove not working in start function. In eclipse logcat shows "blockwebkitdraw locked:false". Any help? Thanks

Member Avatar for peter_budo
0
92
Member Avatar for klemme

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 …

Member Avatar for klemme
0
2K
Member Avatar for Barhoom

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 …

0
161
Member Avatar for Muhammad_42

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 …

0
197
Member Avatar for StephenopolousINC

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

Member Avatar for StephenopolousINC
0
225
Member Avatar for Dharma_1

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 …

Member Avatar for Dharma_1
0
336
Member Avatar for Christoffer_S

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 …

Member Avatar for Christoffer_S
0
194
Member Avatar for damle1

Hi I am new to PHP I want to create drop down list in form where user can type any other thing if he does not wish to select from drop down. Pl Help Dr Damle

Member Avatar for Gaetane
0
192
Member Avatar for menukadevinda

<!DOCTYPE html > <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>AJAX with PHP: Quickstart</title> <script type="text/javascript" > var n = 1; function testNextPrime() { var isPrime = true; n = n + 1; // console.log('testing', n); for (var i = 2; i <= Math.sqrt(n); i += 1) { if (n % i == 0) …

Member Avatar for JorgeM
0
436
Member Avatar for mmcdonald

Hi all, I'm currently building a questionnaire and I've run into a head scratcher. Some of the questions require the user to give a number to represent the importance of the answer. Example: Instruction: Please select the radio buttons according to your preferred option, with 1 representing the most important …

Member Avatar for pritaeas
0
224
Member Avatar for Suzie999

I'm attempting to automate work on an external webpage. One particular element refuses to respond unless the mouse cursor is above it, which means the automation fails. I have tried firing events such as onmouseover, onmousedown etc.. but nothing appears to work unless the system mouse cursor is above the …

Member Avatar for JorgeM
0
91
Member Avatar for tqmd1

Dear Sir, I am using these codes <!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><title>My Contacts</title> <style type="text/css"> html { overflow:auto; } body{ background-color:#e7f4fe; } #container { margin: auto; position:absolute; top:0;left:0;right:0;bottom:0; background-color:#CFC; padding:10px; overflow:auto; width:300px; height:300px; } </style> <body> <div id="container"> <form action="" method="post" enctype="multipart/form-data"> <img align="middle …

Member Avatar for tqmd1
0
209
Member Avatar for lm111

I am having problems displaying a map. Data in ListView is showing on the page but the map is missing. I would appreciate some help. Here is what I have so far: The following pieces of code are in MyDirectory.Master page: <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> function init_map(map_canvas_id, lat, lng, zoomLevel, markers) …

Member Avatar for lm111
0
331
Member Avatar for RikTelner

Yes I've looked already at internet, 3 different queries, 5 pages each, looked on StackOverflow, then its marked as offtopic question, searched through here, answer related like sun and pancakes. My question is, how can I store content of file into variable? While I was Googling I came on this …

Member Avatar for Troy III
0
362
Member Avatar for saad.sarwar.33

I am currently thinking of writing an AutoFill plugin/widget which will take my personal data such as First Name, Last Name etc from a file/javascript and will automatically fill it in web page form. I have read till now to build a plugin which works for all browsers, I have …

Member Avatar for Troy III
0
114
Member Avatar for hallianonline

I am creating a little template for my website but getting an error i think so in jquery actually i want to repeat the price terms toggle option multiple times on a single page e.g. 1 month 6 months 12 months term. All is ok but on 2nd tab when …

Member Avatar for hallianonline
0
158
Member Avatar for Linddha

Hello, Im new in Ajax.. i try to make an ajax input, and show the result without refresh page. i've success to input data with ajax (pure ajax), but i cann't show the result ?? when i look for a problem, .. it couse of the there a line break …

Member Avatar for Linddha
0
298
Member Avatar for patk570

Hello everyone, I am looking for a banner/slider for both images and text. I want to be able to display 3 articles that are attached to the blog I am making and have them rotate, Here is an image of where the content will go. ![47dd24c076f663f88f6d78c35f640cc9](/attachments/small/3/47dd24c076f663f88f6d78c35f640cc9.PNG "align-left") I would like …

Member Avatar for patk570
0
393

The End.