15,698 Topics

Member Avatar for
Member Avatar for koneill

I'm calling a simple e-mail validator in JavaScript as the below shows - this works fine as I'm calling it in my HTMl form as such: <form name="email" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> Then this code does the validation that an e-mail has been entered - however - I need the …

Member Avatar for koneill
0
882
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 piers

Hi, I am trying to take a number entry from a text field to use in some round Robin code to output the data. When I type a number for the variable num e.g. var num=12; the program works fine, but if I try to do it from text field …

Member Avatar for piers
0
179
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
339
Member Avatar for ankit1122

hello, <?php $q=$_GET['q']; //echo $q; $con=mysqli_connect("localhost","root","",$q); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $abc=mysqli_query($con,"use $q") or die('cannot show tables'); $result=mysqli_query($con,"show tables"); echo "<select id='abc'>"; while($row= mysqli_fetch_array($result)) { echo "<option value='". $row[0]. "'/>" . $row[0] . "</option>"; } echo "</select>"; ?> i want to response …

Member Avatar for diafol
0
188
Member Avatar for koneill

All, I'm wondering if their is a way to use the CSS clip to place my image propational within another image. In this case - I am giving users the ability to upload their own image: As an example - this URL shows the uploaded image: http://www.pinkcloud.com/custom_clock/submit.php?upload_message=image uploaded&upload_message_type=success&show_image=kmo_mikeg.jpg Here are …

Member Avatar for mattster
0
343
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
303
Member Avatar for Siberian

Using AJAX is better then iFrames because things are dynamic, instead of making a call to the server to load an entire HTML page, you can do it dynamically, one question remains. Can I style the look of, and this ties into another thread I started, scroll bars etc ? …

Member Avatar for Siberian
0
166
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 Tameat614

Hello, Currently on my site the jquery masonry is loading quite oddly, it loads all the images first then it sorts itself into position. i want it to load just like it does in pinterest.com. Please help. Regards, Tamea Jquery Code jQuery( function($) { // Scroll back to top function …

Member Avatar for Tameat614
0
394
Member Avatar for adishardis

Hi, I have en stdClass object array that looks like this Array ( [10] => stdClass Object ( [inlast] => 2013-02-15 00:00:00 ... etc Where the first number (10) is the uniqe identifier for that row, and the array contains all the rows in the table. So my question is …

Member Avatar for pritaeas
0
203
Member Avatar for piers

Hi, I have been creating a round robin. This is similar idea to speed dating except everyone has to talk to everyone. Whilst I have been able to create this, there is a lot of repetition in my code and I wondering if any of you have recommendations for removing …

Member Avatar for piers
0
3K
Member Avatar for Priti_P

Hello, using for each of jquery am fetching td's name but if try to test it by removing name from firbug and try to submit it then my code is breking. so first question, what should anyone do in such case? and another regarding my code is: $('#SkillDetails_table tr').each(function() { …

Member Avatar for kaleemullah360
0
106
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
359
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
135
Member Avatar for vizz

[CODE]<div id="wrapper"> <div id="header"> <p>This is the Header</p> </div> <div id="navigation"> <p>This is the Navigation</p> <a href="#">Home</a> <a href="#">About</a> <a href="#">Contact</a> </div> <div id="content"> <p>This is the main content</p> </div> <div id="footer"> <p>This is the Footer</p> </div> </div>[/CODE] This is my HTML code. I have menus in navigation div. Content …

Member Avatar for diafol
0
4K
Member Avatar for vivosmith

Hello, I have been trying to move this box, but so far all common ways of moving the javascript box (whitespaces, CSS) have not worked. I have tried searching the web, amongst other things, and so far nothing has worked. Here is the code: <html> <head> <title></title> <style type="text/css"> #AgodaSearchBox{ …

Member Avatar for mattster
0
255
Member Avatar for muralibobby2015

I am working on custom form builder for one of my clients where we have functionality like drag fields , resize, apply css like borders and align fields using jquery. i am done with dragging,resizing and css but one of the major requirement is to apply "google drawing red rule …

0
85
Member Avatar for markii.borabon_1

Im trying to dynamically add fields when add button is being press.. my code here works perfectly but.. what I want is when I click any of my fields it must add instantly and dynamically .. here:: $(document).ready(function() { var max_fields = 10; //maximum input boxes allowed var wrapper = …

Member Avatar for JorgeM
0
226
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
217
Member Avatar for ivan.moony

New version of Moony Parser is out (2.4) It is an Earley parser implementation and accepts Structured-BNF as grammar input. You can try it online at: [http://parser.moonyweb.com](http://parser.moonyweb.com)

0
79
Member Avatar for fungus00

Hi all First of all I wana tell about my self,, im not a good coder you can say im newbie. I have a problem with jQuery autocomplete. I want to dispaly images in autocomplete. Image path save in DB and physically every image is in different folder. I have …

Member Avatar for JorgeM
0
682
Member Avatar for Mr Programmer

What I want to do is to show an email sign-up pop up when a link is clicked. This is how I am referencing to the external sumome.php file, which contains the js function: <script type="text/javascript" src="http://www.barcabyfans.com/wp-content/themes/hueman/sumome.js"></script> This is what I am writing for the link: <p>Get more awesomeness <a …

Member Avatar for oriclon
0
324
Member Avatar for ankit1122
Member Avatar for Siberian

This jQuery code works, but when translated to the actual page, it's jerky ? [[Link](http://jsfiddle.net/uL8z4p1h/2/)]

Member Avatar for Airshow
-4
213
Member Avatar for davy_yg

Hello, I am trying to create a gallery like in this website: [Web Sites](http://themes.webinane.com/dastak/index.html) When you hover mouse over the gallery certain notes appears on top of the images. How to create such thing through jquery?

Member Avatar for JorgeM
0
80
Member Avatar for Casperjames

I'm fighting with jquery flexigrid - below is my format. I can get the flexigrid to load thousands of lines if I load them all into a single page, however I want to split out pages inside my json response. According to the documentation I believe my format is correct …

0
87
Member Avatar for wikit

Hi guys, thanks in advance for any help. I'm using this tutorial [Click Here](https://www.youtube.com/playlist?list=PL7C25B2F18F68F3EF) To make a multi-file upload. the actual upload works just fine, however the % progress and final file list of uploaded files that is supposed to show at the end is not working. Here is the …

0
178
Member Avatar for dean8710

Hi guys, i am currently stuck at live update the data fetched from mysql. The problem now is, if the table has thousand of data, the webpage will hang/lag because of the setInterval() are fetching the data over and over again. My question is, what is the best solution for …

Member Avatar for pritaeas
0
104

The End.