15,127 Topics

Member Avatar for
Member Avatar for Pervex

Hi, I have the code , which add the data from input filed to list-box.Now am able to remove individual input's. I want to have option multiple select to remove the data from list box . <form id="frm" action="" method="post"> Select list:<br/> <select name="sel_list" id="sel_list" size="2" onchange="adOption.selOpt(this.value, 'optval')"></select><br/><br/> Add an …

Member Avatar for Taywin
0
211
Member Avatar for robert.rook.501

I need a javascript routine to allow a page that is called to return to whatever page called it, however the new page itself may have multiple pages to go to, so standard javascript window-history-back will not work. I need something like original-page="xxxxxx.htm" Oh yes the routines for both pages …

Member Avatar for Taywin
0
289
Member Avatar for Ajh180

Hi, I have a hover effect whereby an image is being faded out and another is fading in. However, Is there a way for these actions to happen simultaneously? So as one is fading out the other fades in. My code so far is: $('.square').mouseenter(function () { $(this).attr('data-image', 'two'); $(this).find('.one').fadeOut('medium'); …

Member Avatar for JJenZz
0
120
Member Avatar for iamjin04

<html> <head> <script language="JavaScript"> function validator() { if (text_form.name.value == "") { alert("Please enter your name"); text_form.name.focus(); return false; } return true; } </script> </head> <body> <form name="text_form" method="get" action="success.html" onsubmit="validator()"> <label for="name"> Name </label> <input type="text" name="name"/> <br /> <input type="submit" value="submit" /> <input type="reset" value="reset" /> </form> </body> …

Member Avatar for iamjin04
0
170
Member Avatar for LastMitch

Hi I recently create a `Simple JQuery` code with captions with some help from other Daniweb members: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery I got a better understanding how it works. So I decide to add a `image count` with this code. The past few hours I been trying to modify this code, kinda play …

Member Avatar for LastMitch
0
480
Member Avatar for ratanji

i want validation form without alert message and to display all the empty blocks error messages at a time beside blocks so can any one help me...???

Member Avatar for Taywin
0
148
Member Avatar for roachae

I'm trying to add 'session ending warning' and 'session expired' pop-ups to a site that displays secure data. The session timeout is after an hour. The pop-ups are controlled by javascript using the code below, which checks the time left in the session every minute. BUT... the call to the …

Member Avatar for Taywin
0
362
Member Avatar for jelly46

Can anyone help? I am looking for code for a fundraising thermometer. I have looked and looked and looked. I need it to be html and js Can point me in the right direction.

Member Avatar for pritaeas
0
92
Member Avatar for hoangdungksp

Everybody! First, i have a file iframe_page.php using file_get_contents to display content from another page. <?php $URL = "http://www.funnywow.com/index.php"; $domain = file_get_contents($URL); $domain = preg_replace('/<head>/i', "<head>\n<base href='$URL'>\n", $domain); echo $domain; ?> Next, i have a file index.php containing: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#" lang="en"> <head> <script> function HideDiv() { var x=document.getElementById("myframe"); …

0
106
Member Avatar for maharaja.a1

Hi, i actually tring to get image . in the windows application. Please help on this. Thanks in Advance

Member Avatar for JorgeM
0
32
Member Avatar for jamojo

Hello everyone, I am trying to paginate the table below using this plug in. http://neoalchemy.org/tablePagination.html However, I the table did not show properly and I think it still counting the hidden fields. Can you please advise how to solve this or provide an alternative way to do this. Thanks in …

Member Avatar for jamojo
0
133
Member Avatar for kiail

Hello, I'm trying to make a simple search with Javascript to search a form, I need to pull the index of my search term. This is what I have so far, but I'm seriously having issues. Any help is appreciated. <!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"> …

Member Avatar for Taywin
0
180
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <head> <title>AJAX Chat Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Script --> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( function(){ $("#chats").load("feed.php"); $("#post").submit( function(){ return false; } } ) ); </script> </head> <body> <!-- Messages display here --> <div id="chats"></div> <!-- Post the …

Member Avatar for Djmann1013
0
144
Member Avatar for techyworld

hi i have a sound control on my website, i need to put a condition to check, when the xcoordinate is increasing, the sound volume increase and if xcoordinate is decreasing, sound volume decrease. I'm having trouble to set this condition, i dont know how to put this. Can you …

Member Avatar for techyworld
0
103
Member Avatar for plmexico79

im trying to understand to create a form that process in php but shows the erros in ajax. heres a sample of something i want [Click Here](http://php4every1.com/demos/ajaxSubmit/), i already understand some jquery but not everything , like when i create a form in html do i had to create a …

Member Avatar for pritaeas
0
343
Member Avatar for samith.dilhara

here is the code <div id="test"> <input type="text" name="textfield" /> <div> `$('div#test').html()` render like this along with endtag for `/>` <input type="text" name="textfield" ></input> how can i render it like below <input type="text" name="textfield" /> thanks in advance..!!

Member Avatar for Airshow
0
190
Member Avatar for mart4494

Hi All - am using dbmasters formm@ailer for some time - no problems until recently. We require the engine size to be completed in cc. This has not been a problem until recently when we are often receiving a 'X' in the field. I'm stuck with Javascript. PHP extract as …

Member Avatar for pritaeas
0
133
Member Avatar for kings

[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login(t) { var t = '<?php echo $id; ?>'; alert(t); } --> </SCRIPT> </head> <body> <?php $id=$_GET['id']; print "<input type='button' name='button' value='button' onClick='login('$id')'>"; ?> </body> </html> [/CODE] i want to alert the variable using onclick function.

Member Avatar for vkey
0
1K
Member Avatar for techyworld

Hi i need to display a number of images on my website. All the images are in a folder. how can i do it using an array?

Member Avatar for techyworld
0
87
Member Avatar for LastMitch

Hi, This is the first script that I trying to read and learn how it function. I not very familiar with `JQuery`. I'm more in `PHP`. But I notice other members know other languages beside `PHP`. So I'm trying to do what other Developer are doing which is knowing another …

Member Avatar for LastMitch
0
453
Member Avatar for rotten69

Hey everyone, I'm just wondering how the read more feature is achieved in PHP. It is like facebook where it displays a couple of lines then if you're interested in reading more about the status or article click 'read more link' which expands the box. Cheers,

Member Avatar for JorgeM
0
144
Member Avatar for code739

hi fellas, Im using javascript framework in uploading image via ajax but the problem is $_FILE is empty here s my code: <form action="upload.php" method="post" enctype="multipart/form-data" id="upload" name="upload"> <input type="file" name="file" id="file" style="border:none"/></center> </form> js var url = 'upload.php'; new Ajax.Request(url, { method: 'post', contentType: 'multipart/form-data', encoding: 'UTF-8', parameters: $('upload').serialize(true), …

Member Avatar for LastMitch
0
152
Member Avatar for code739

hi fellas, need some brilliant idea, i want to get the firstname,lastname,middlename of the employee below using javascript. ________________________ Atty.Jan Rex Camvarijan Rex Uy Cambarijan Rex Cambarijan Rex Ma.Rex B. Cambarijan ||| Rex del Rosario __________________________ what i really want is how could i separate lastname firstname middlename in those …

Member Avatar for code739
0
171
Member Avatar for h0rryp0tter

Somehow I am unable to fire the onerror event or get the code in the onerror to work. This code is an attempt to collect a sequence of images in an array. I am using onerror event in order to mark the end of sequence and thus terminate the loop. …

Member Avatar for Troy III
0
349
Member Avatar for daniel36

Is it possible to disable right click on webpage and disable save as option of browser's file menu?I have searched on google but i didnt get the working code.If possible then please tell me the way.

Member Avatar for daniel36
0
323
Member Avatar for henryhawjjins

I want to build a site like art.com, I can make a shopping cart by using any popular platform like magento, opencart or cs-cart, but the site which i mentioned has couple of unique feature, you can see them here http://www.art.com/frameStep/?pd=12818514405&sp=A&APNum=8656266&PODConfigID=4990875&EmailID=&ui=A5597B7167F340178A8A9709586F2FBA&customerzoneid=3 Once you go there, please click on "mats tab" …

Member Avatar for pritaeas
0
97
Member Avatar for Zanzertuchi

Howdy Everyone, I've been banging my head against this for a bit now and have been reading all kinds of things - but, everything I try has failed. So, I thought I'd ask. I've just begun working with Javascript/Ajax .. in the last day to try and accomplish a task …

Member Avatar for Tyler W. Cox
0
370
Member Avatar for bsewell

Hi, I'm wondering how to create a DIV dynamically. Basicly, I have two labels, and depending on which one is clicked, I want some code to appear inside an existing DIV. Obviously, I will need to do this using javascript and the onClick event. To make things even more complicated, …

Member Avatar for Ganeshcse
0
6K
Member Avatar for vijayram

Hai everybody. if rotate =true how to disbale draggable function this is my code but rotate working fine. draggable function not disable and enable anybody plz help me. $('.planspace-image').draggable({}); //.resizable(); $('.upload_pic') .resizable({ start: function(e, ui) { }, resize: function(e, ui) { }, stop: function(e, ui) { //alert('resizing stopped'); } }); …

Member Avatar for vijayram
0
161
Member Avatar for k9huey

I want to make an online measurement converter for my company’s intranet page. I am torn about how to handle the converting and wanted some opinions. Basically the user would enter some random measurement and select what type of measurement that is and what they want it converted to. For …

Member Avatar for k9huey
0
129

The End.