1,694 Topics

Member Avatar for
Member Avatar for shashikumar s g

hi all i am trying to allow the user to select the folder to store the downloading file using javascript i didnt found input attribute for download like file i try with downloadify.js but its not work their is another way i can do it

Member Avatar for almostbob
0
173
Member Avatar for OsaMasw

Hey guys. have a nice day.... can anyone tell me how to achieve something like this slider in background ? I used a full screen slider but can't write content in middle of it like this site http://psnprofiles.com/

Member Avatar for OsaMasw
0
179
Member Avatar for nadiam

Hi, guys. Im having this weird thing where the buttons not responding to clicks handled by jquery. i got a page which lists events then when an event names is clicked a table of guest list appears next to it. like this: ![cf2669fd96869baa104ebf595b1f206c](/attachments/large/4/cf2669fd96869baa104ebf595b1f206c.jpg "cf2669fd96869baa104ebf595b1f206c") the page is handled by ajax: …

Member Avatar for nadiam
0
284
Member Avatar for nadiam

Hi. i am trying to show a hidden element using a button. but i want to make it so that everytime the button is clicked the hidden element get shown that same amount as button clicked. example: <input type="button" value="Click me" id="clickme"> <input type="text" id="textbox"> <script> $(document).ready(function() { var element …

Member Avatar for AleMonteiro
0
16K
Member Avatar for nadiam

Hi, so i have this list of table seats like table of 6, table of 8 that kind of thing and i have images(width and height:110px) that correspond with those seats but by default they are hidden using `.hide()` and there is also a div(width:880px, height:350px) where these images would …

Member Avatar for nadiam
0
333
Member Avatar for dschuett

I have a scroll function that I want to fire when the user scrolls to the very bottom of the page. However it is doing the exact opposite; it is firing at the top of the page. I have used this before, and everything on the web says to do …

Member Avatar for AleMonteiro
0
300
Member Avatar for nadiam

hi. i just want to know if that is possible. for example there are 5 blank textboxes with no specific id or class: <input type="text"> <input type="text"> <input type="text"> <input type="text"> <input type="text"> is there a way to loop through the textboxes and find the first blank textbox? say the …

Member Avatar for Airshow
1
3K
Member Avatar for hanspeare

Good Day Daniweb, I am encountering a problem in php code meant to allow the user to update their profile picture. I am using jquery.min and jquery.js. The code below runs with no errors reported. The file has been successfully uploaded to upload path using this form. upload.php <form id="imageform" …

Member Avatar for hanspeare
0
5K
Member Avatar for maxbummber

I am trying to learn how to use jQuery and I stumbled upon this code and the requirements below: * disable all the cells from "Every Monday" till "Every Sunday" as the initial status; * make "Never" exclusive from all the rest of options in the same row; * make …

Member Avatar for pritaeas
0
352
Member Avatar for ravi142

Hello How can i add ID='xyz'in IMG tag <div class="main-banner"> <img width="1000" height="242" alt="cropped-Penguins.png" class="attachment-full" src="http://../cropped-Penguins.png"> </div> JQuery which i have tried jQuery('.main-banner').append("img").attr('id','xyz'); But Not Work. Give me suggestion Thank you

Member Avatar for noelthefish
0
128
Member Avatar for hanspeare_1

Hello there Good day to each and everyone of us here. i have a problem displaying the image i have uploaded in the root directory folder. This is my codes in uploading image. I am using jquery.min.js and jquery.form.js. $path = "uploads/"; $valid_formats = array("jpg", "png", "gif", "bmp","jpeg"); if(isset($_POST) and …

Member Avatar for mattster
0
215
Member Avatar for nadiam

hello. i want to use the draggable plugin. i have downloaded the custom bundle : [jquery downloads](http://jqueryui.com/download/) im trying: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Draggable - Constrain movement</title> <script type="text/javascript" src='js/jquery-1.11.0/external/jquery/jquery.js'></script> <script type="text/javascript" src='js/jquery-ui-1.11.0/jquery-ui.js'></script> <style> #draggable { width: 150px; height: 150px; padding: 0.5em; border: 1px solid …

Member Avatar for nadiam
0
249
Member Avatar for gcardonav

Hi guys, I change my code from Javascript to jQuery and I believe I have everything allright, but my jQuery is not showing the value. Can you help me with it? I am adding the important snippets but if you need all my code here is it [Click Here](http://liveweave.com/YoR5Vz). Thank …

Member Avatar for gcardonav
0
188
Member Avatar for ekseks

[CODE]<!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> <link rel="stylesheet" href="css/jquery.datepick.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery.datepick.js"></script> <script type = "text/javascript"> function updateSelected(dates) { $('#selectedMonth').val(dates.length ? dates[0].getMonth() + 1 : ' '); $('#selectedDay').val(dates.length ? dates[0].getDate() : ' '); …

Member Avatar for neerajgarg
0
333
Member Avatar for nadiam

Hi guys. I got draggable to work but im having a problem with draggable on a cloned element. I have a button class `.r6s` that when clicked an image will appear in the `containment-wrapper`. The image is wrapped in a div with id `sixr`. what i did is initially hide …

Member Avatar for nadiam
0
315
Member Avatar for ravi142

Hello In Form when I Select **"Yes"** in Radio button then **Textbox** Show with **validation**.(Submit button) When Click on **"No"** then submit form without validation. Here my code <form> <input type="radio" name="gender" value="yes" >yes <input type="radio" name="gender" value="no" checked="checked">No<br/><br/> <div id="disp_not"> Company<input type="text" name="company" value="" id="company" /><br/><br/> </div> <input type="submit" …

Member Avatar for hericles
0
272
Member Avatar for OsaMasw

Hello there guys I have javascript code for parallex effect its working great but what I need is to transform this code to jquery so my site contain only jquery codes not mixed. <script> var topDiv = document.getElementById("topDiv"); var speed = 1.5; window.onscroll = function() { var yOffset = window.pageYOffset; …

Member Avatar for OsaMasw
0
176
Member Avatar for samnorton05

I am trying to output the SELECTED TEXT within my javascript code. I created a function that will get the selected text and I just want to output it when the submit button was output. Here's the javascript for getting the selected HTML or TEXT. function getSelectionHtml() { var html …

Member Avatar for Taywin
0
393
Member Avatar for Aiswarya_1

I want to make a recipe website.In that I had added the add to favourite button.If i click my favourite button the recipe which i clicked will add to favourites.I i re-click it will remove from my favourites.It is controlled by the status field in the favourites table in sql.How …

Member Avatar for kaustavbanerjee
0
199
Member Avatar for safi.najjar1

Hello Guys, I coded the following and worked 100% perfectly but I want to do it ajaxly ! how to make all of this sending by ajax with animation(fadeIn,fadeOut) this my code: product.php url: product.php?id=4 <div id="product_page_desc"> <?php foreach ($products as $info) { ?> <div style="background:#fff;box-shadow: 0 0 1px #cd9db1;float: …

Member Avatar for matrixdevuk
0
501
Member Avatar for Himanshu Chawla

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"/> <link href="css/datepicker.css" rel="stylesheet" /> <script src="js/bootstrap.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="js/bootstrap-datepicker.js"></script> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="js/JavaScript.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <title></title> </head> <body> <div> <form class="form-horizontal" id="form1" runat="server"> <fieldset> <!-- Form Name --> <legend>Enter Your Details</legend> <div class="control-group"> <label class="control-label input-xlarge" for="Status">Employment …

0
163
Member Avatar for dhani09

I''m trying to process a form without page reload using jQuery post as shown below: <script type="text/javascript"> $('#settingsForm').submit( function(){ $('input[type=submit]', this).attr('disabled', 'disabled ');}); function scheck(){ var oldanswer = $("#oldanswer"); var newquestion = $("#newquestion"); var newanswer = $("#newanswer"); var url = "settingsupdate.php"; //This part of the code works fine. Errors are …

Member Avatar for dhani09
0
270
Member Avatar for ocw91

Hi, i was trying to call JQuery function from my backend C#. the JQuery function testtesttest(testurl,counter) { $("'#imgThumbnail"+counter+"').attr('ImageURL','"+testurl+"'); $('#imgThumbnail'+counter+').show(); } backend C# code int counter = 0; while(counter<list.Count) { int imgcounter = 1; string testurl = list[counter]; ClientScript.RegisterStartupScript(this.GetType(), "sc", "testtesttest("+testurl+", "+counter+")", true); imgcounter++; counter++; } I trying to pass 2 …

Member Avatar for ocw91
0
176
Member Avatar for safi.najjar1

Hello guys I have a problem with jquery this my code: var count = $(".count"); $('.minus').on('click', function () { if (count.val() > 1) count.val(parseInt($(".count").val()) - 1); }); $('.plus').on('click', function () { count.val(parseInt($(".count").val()) + 1); }); and HTML code: for first product and other products: <td> <input type="button" id="minusInCart" class="minus" value="-"> …

Member Avatar for Airshow
0
2K
Member Avatar for ultmt.punisher

I am creating chat program in php using jquery, ajax and MySQL. and my problem how to auto scroll down when div is overflowed. like when user enter new line it will goes down and I want to auto scroll down when new messages appeares down. and I am trying …

Member Avatar for ultmt.punisher
0
6K
Member Avatar for ultmt.punisher

I have created a chat program that is working fine on localhost but in the live server its not working fine, its sent response or text very late, So I don't know what code should I post here to get know whats the problem or how it will be solved. …

Member Avatar for diafol
0
2K
Member Avatar for jamojo

Hi Everyone, I have a javascript function below: function submitUserInfo() { if (myForm.validator.validate()) { var data = $('get-user-info').serialize(true); var params = data; var url = 'http://www.mysite/engine/'; var request = new Ajax.Request(url, { method: 'post', parameters: params, onSuccess: function (transport) { //alert(transport.responseText); $('paywall-img').innerHTML = ''; $('paywall-img').insert(transport.responseText); $('paywall-img').insert('<button class="button close-pw"><span>Cancel</span></button>'); }.bind(this), onFailure: …

Member Avatar for AleMonteiro
0
254
Member Avatar for deva89

I am developing a project on PHP and MySQL. My problem is "I am unable to show a uniqueID in a textbox like 'GHY00001, GHY00002, etc' auto-incremented everytime i load the page and insert it into the database". I already tried some php tutorials but didn't find usuable to my …

Member Avatar for AndrisP
0
441
Member Avatar for ravi142

Hello Everyone, Can you suggest me for Any Script or snippets of dopdown value given to **database** using **jquery and ajax** in php file. Thank You.

Member Avatar for diafol
0
383
Member Avatar for network18

Hi, I have come across another programming challenge again and hopefully I wont close the thread myself this time. I am expecting good suggestions or examples from you to do this. I want to build a (scrollable) nested list, from which children of two parents could get swapped after some …

Member Avatar for Traevel
0
194

The End.