jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for new_techie

Hello, would anyone be able to tell me how to make text disappear on a specified date using html? More specifically I am trying to put a message on a site that should be coded in a way that the particular message will disappear or hide itself on a particular …

Member Avatar for hielo
0
88
Member Avatar for malashukla

i am new in php so may be my problem could be so easy for u but i m not solve. anyone out there please help me. actually i am creating checkboxes inside the while loop with different id. and a user can check more than one checkbox and when …

Member Avatar for pssubash
0
105
Member Avatar for ......?

Hello everyone! To get incoming message in fb-chat, browsers send request in certain interval (i think 55.31s). But if there is message it fetches message and terminates before starting new. Can anyone explain how it is done Regards

0
78
Member Avatar for U'rDady

I am using PHP+javaScript+Mysql+html My Question is How can I upload Excell file in Browser to show the user the file is uploaded. and then update that excell data from browser to Database Please Help. I would be great is i can have a sample code. Best Regards.

Member Avatar for AndreRet
0
41
Member Avatar for dani0

Hi, When i clicked the submit button, it must be open an image and write a text like "Please wait". Then they will be hide after 5 seconds and we will see the submit button results. Can you help me about that?

Member Avatar for Thirusha
0
162
Member Avatar for praveen_dusari

hi, iam developing a website where i need to prevent users from downloading my images. i tried using javascript by disabling rightclick but in mozilla there is a option to disable javascript. any help? please..........

Member Avatar for DanielTulp
0
870
Member Avatar for Pari13

Hello Developers, I am not able to get client path on file(image) upload .so i can disply that file(image) in image control on upload file. On my local machine below code worked nicely. [CODE] <img id="imgProductHallmark" name="imgProductHallmark" src="" alt="Image" width="95" height="113" runat="server"/><br /> <input name="ProductHallmarkUploadID" id="ProductHallmarkUploadID" type="file" onchange="LoadImage1()" runat="server" /> …

0
71
Member Avatar for Matthew N.

I have a java script popup window, using the code below: [CODE]<html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Idea by: Nic Wolfe --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function popUp(URL) { day = new Date(); id = …

Member Avatar for fobos
0
144
Member Avatar for itisnot_me

hi all, i have been using uploadify lately but i think that it no longer works correctly given the lastest flash updates. or idk what the problem is. my question to you is do you know of a better multiple/single file uploader that uses jquery and php. something that would …

0
73
Member Avatar for MDGM

Hi all, I'm making some changes to a google chrome extension I made and am having some trouble. Heres my code on a content script page (removeAttr.js) : chrome.extension.sendRequest({greeting: "whitelist"}, function(response) { var whitelist = response.whitelist; console.log(response.whitelist);//working }); alert(whitelist);//alerts "undefined" How do I acess the whitelist variable from outside the …

Member Avatar for Airshow
0
4K
Member Avatar for omar_ghassan

I'm using an ajax function to call multiple php files to the same HTML web page. Dividends must be dynamic the data is stock prices. It seems that the last stock price is only updating the other 9 are not is their a limitation to the number of ajax functions …

Member Avatar for omar_ghassan
0
141
Member Avatar for keltoid

Hi all -- I need to put a table w/ 4 cells (across) to display recommended/suggested items. I want them to all be random each time someone visits or refreshes, I will have a current pool of about a dozen images to be pulled from.. I have found the code …

Member Avatar for Airshow
0
222
Member Avatar for andrewliu

Hello, I was wondering what could be wrong? There is this ajax code that I'm trying to work on and its supposed to show the results in a div tag when submitting a search form, but theres no results. here's my code [CODE]$(document).ready(function(){ $("form.ajax").submit(function(){ var ajax_div = $(this).attr("id")+"_results"; var data …

Member Avatar for andrewliu
0
367
Member Avatar for cjay175

What I would like to do is have 2 buttons to submit a single form. One button is to save the form for editing later the other is to process it. With... [CODE]$("#saveform_ns").click(function(){ $('form#form_main').attr({action:"http://path/to/save.php"}); $('form#form_main').submit(); })[/CODE] I can get the submit button to work and the above button to work. …

Member Avatar for cjay175
0
655
Member Avatar for MichaelWClark

I have a master page with an update panel wrapping up the content template. In one of my pages I have a grid view that is residing in a Div that utilizes the overflow method to produce scroll bars. I need to be able to retain the scroll position through …

Member Avatar for MichaelWClark
0
631
Member Avatar for Traicey

Hi All Im not sure if this is possible but here is the thing I have thankyou.html page that should be opened in the lightbox when a submit button is clicked and the email is sent, I have a contact.php that send an email to the person with the details …

Member Avatar for Member #120589
0
122
Member Avatar for BzzBee

hello, I had a fckeditor at my php page, i want to put some data in fck editor when user click a button. How can i do that using javascript. Please help

Member Avatar for dennishall
0
432
Member Avatar for ahaykal

hello guys I have this problem that I cant seem to fix! What i want is that when the message Market is closed appears in the input box I want to change the input background color to red in all other cases I want the input box to be blue …

0
67
Member Avatar for imbest

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> [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" > <script type="text/javascript"> function showMe2(it,txtid,msg) { document.getElementById(it).style.display = "block"; e=document.getElementById(it); //e.style.top=200; document.getElementById(it).innerHTML = msg;//document.getElementById(txtid).parentElement.offsetTop ; e.style.top= document.getElementById(txtid).parentElement.offsetTop+35; e.style.left=document.getElementById(txtid).parentElement.offsetLeft+200; e.align = "left"; e.style.width="auto"; //document.getElementById(it).style.top =document.getElementById(txtid).style.top ; } function hide(it) { document.getElementById(it).style.display = "none"; …

Member Avatar for dannie_cake
0
155
Member Avatar for Member #453901

Hi, I spent hours working on a page yesterday and /finally/ got it to work so that the header image would resize when the browser window changed size. So I'm about to publish it and think I should maybe check it over once more to make sure everything works. Turns …

Member Avatar for Blaise.M
0
185
Member Avatar for benqus

Hello everybody! I've found some solutions to colorize scrollbars, but the fact is that I need to redesign it with HTML & CSS if it is possible. So I don't really like flash, and my application needs a new scrollbar... So I was thinking to design a new one, and …

Member Avatar for benqus
0
178
Member Avatar for muralibobby2015

hello... i am getting problem with this regex....what is the exact format of this pattern only 000-000-0000. exact this pattern only not other U.S phone number format. why because i am using below javascript for this validation. [CODE]if(window.document.UserDetails.phone.value=="") { alert("Please Enter The Phone Number") window.document.UserDetails.phone.focus(); return false; } var pattern …

Member Avatar for muralibobby2015
0
193
Member Avatar for herghost

As above! [CODE] var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = …

Member Avatar for hielo
0
194
Member Avatar for johnkj

i used ajax loading for all my pages [code]<a href="javascript:ajaxpage('test.htm', 'contentarea');">test</a> [/code] main page remaining the template and the other pages' content will be loaded into the template. but now the trouble is tht when i have to go to a page i have to go to the main page …

Member Avatar for Member #733618
0
63
Member Avatar for prettyrein

Hi, I am also having an ONLINE ENROLLMENT SYSTEM and having a problem with coding.. I am a returnee student and more programming languages has been adapt... Using php, apache, mysql, html, javascript, css etc... I am confused especially in php query.. can anyone help me here, i don't have …

Member Avatar for Stefano Mtangoo
0
183
Member Avatar for techie929

Hi, I am repeatedly getting "missing ) after argument list" in firefox. hash_a is a variable. $("#details_a").append("</br>"+"Enter Name "+"<input type='text' id='myText' />"+"<input type='button' id='theSubmitButton' value='Edit Name' onclick='edit_data("+hash_a+")''>"); Thanks.

Member Avatar for Taywin
0
194
Member Avatar for aizel

hello daniweb web developers i am beginner with programing and i want to know how to make this one..if i select a item for example CA on <select box> how to put a confirmation message that will be put in the <div> tag? i'm hoping you could help me sir..regards …

Member Avatar for aizel
0
118
Member Avatar for yopirates

Here in the second tab i have a submit button .when i enter some value in the textfield of second tab(tab2) and give submit its again going back to first tab(tab1) .What i want is after i click submit in tab2 it has to be in tab2 oly.It has to …

Member Avatar for yopirates
0
2K
Member Avatar for NH1

I need help with converting standard time to military time through a button. Then being able to use another button to convert back.

Member Avatar for NH1
0
191
Member Avatar for mr_scooby

Hi, have this function below that gets the name of the pc, the local part works however the part that goes to the htpc fails, permission denied is the message. I have set the same username/password as admin on both machines. there must be some code I can use to …

0
58
Member Avatar for BarryBrooks

First of all I'd like to apologise in advance if I do not explain this very well, as I'm not overly familiar with javascript, but here we go. I'm currently working on an ecommerce page on ebay, I've added html code within the description of a listing to make it …

Member Avatar for BarryBrooks
0
136
Member Avatar for tashaX

Hello, I'm completely new to JavaScript. My project requires to display path from pointA to pointB on GoogleMaps using gps coordinates. For now all I'm trying to do is to display google maps webpage to start off. Using an online editor I was able to do that but when put …

Member Avatar for chintan@dani
0
94
Member Avatar for sakush100

Hello everyone. This is a small php code to change password. [CODE]<?php session_start(); $oldpwd=$_POST['oldpwd']; $newpwd=$_POST['newpwd']; $conf=$_POST['conf']; $currentid=$_SESSION['email']; if($newpwd!=$conf) { echo"Passwords Do Not Match"; } else { if($oldpwd==NULL || $newpwd==NULL ||$conf==NULL) { echo"Any fields cannot be left Blank"; } else { require('../connect.php'); mysql_connect($host,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $qry="SELECT …

0
67
Member Avatar for cmccully

Hi all, I have an AJAX function that sends the contents of a text field to a PHP file. The file checks for duplicate entries and if unique stores the new record in MYSQL. This all works fine. However, I would like the PHP file to send back an alert …

Member Avatar for cmccully
0
90
Member Avatar for charvie

is it possible to force or trigger a keypress on mouse click? what i want to do is mimic the arrow up and down keys when i click on a button. is that possible using javascript? thank you.

Member Avatar for Member #733618
0
63
Member Avatar for techie929

How Can I read the below file without using tag names.If suppose I have to fetch Title value, I know using xmlDoc.getElementsByTagName("title").item(0).firstChild.nodeValue; But How can I read without using Tag Names. <catalog> <title>Airbus Aircraft Families</title> <aircraft> <Airbus>A380</Airbus> <Aircraft>A380 </Aircraft> <seats>555</seats> <Range>15000km </Range> </aircraft> </catalog>

Member Avatar for hielo
0
149
Member Avatar for dylank

Hey guys; I'm having a little problem here, I have made a mock up website for my High School, but the Javascript that controls tweaking the CSS to display the website at different resolutions. This used to work great, but now I find that the JS only runs correctly after …

Member Avatar for Airshow
0
57
Member Avatar for cmccully

Hi all, I have an AJAX script that pulls a radio group list from PHP. I would like to then read which of those options the user subsequently selects. My AJAX script: [CODE]function showCharacteristics() { xmlhttp1=new XMLHttpRequest(); xmlhttp1.onreadystatechange=function() { if (xmlhttp1.readyState==4 && xmlhttp1.status==200) { document.getElementById("charList").innerHTML=xmlhttp1.responseText; } } xmlhttp1.open("GET","ctrPanelProc.php?selection=getCharacteristics",true); xmlhttp1.send(); }[/CODE] …

Member Avatar for hielo
0
104
Member Avatar for joshuabreed

Hi there! My name is Vaughan Woolsey. I have a BA in music technology, so things like recording and (little bits of) electronic music composition. I started learning design principals and digital graphic design in October oh-9 and found the wonderful world of web development in somewhere around June oh-10. …

Member Avatar for AndreRet
0
219
Member Avatar for anandhikrishnan

Hi all, I have two radio button yes,no in a.jsp. var IncludeCharges = document.getElementById("IncludeCharges_no").value; If i select yes i need to pass 1 to the java file and in case of no i need to pass 0. but when i retrive the radio button value using int Includecharges = Integer.parseInt(request.getParameter("IncludeCharges_yes"); …

Member Avatar for hielo
0
188
Member Avatar for Melow

So i had to do the following assignment in GWT: 1.Implement a selection/de-selection component as described below: The selected item in the first list goes into the second list and is removed from the first list when the >> button is pressed. The selected item in the second list goes …

0
174
Member Avatar for himmat.m4

Hi, I have created .js file it is using in jsp page. All methods of .js file work properly but here problem is when I want to execute any method of .js file on body onload event then this method no working. So tell how can execute this method on …

0
79
Member Avatar for pieterv

Could someone please explain why the following code works: [code=php] <html> <head> <script type="text/javascript"> function test(){ phpTest = "<?php echo 'hello'; ?>"; document.getElementById("php_code").innerHTML = phpTest; } </script> </head> <body> <a href="#" onclick="test(); return false;"> test </a> <span id="php_code"> </span> </body> <html> [/code] while this code doesn't: [code=php] <html> <head> <script …

Member Avatar for pieterv
0
2K
Member Avatar for AliHurworth

hi all. i'm struggling with the following code - can't seem to get the variables within the function to work... [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>Teabag calculator</title> <script language="javascript" type="text/javascript"> var single=0; var dbl=80; var total=single + dbl; …

Member Avatar for Airshow
0
114
Member Avatar for curious_me

Does anybody know anything about click functions? I need ur help guys. what I wanted is that there will be 3 choices and once I clicked one of those choices it will be automatically displayed to a table in html. please help me cause google can't help me or i …

Member Avatar for Member #733618
0
148
Member Avatar for Tekkno

Hello, I have a div (#disclaimer) that has the css property of "display:none." The following jquery script is supposed to show it when the #test select option is clicked. The #quest,#comp,and #other divs are supposed to hide it again. It works fine in FF but does not work in IE. …

Member Avatar for fobos
0
267
Member Avatar for turverey

Hi, I am in a unusual situation and cannot get my JavaScript to work. I need to have all of my JavaScript in one external file that I link to in the header. However, some of the JavaScript in that external tag needs to appear in a certain place in …

Member Avatar for Member #733618
0
195
Member Avatar for aldm

Hi, I'm working on one sites and having troubles with these: I have tables catecogires and subcategories in database. When user add article, he select categorie from select tag and under that tag appears another select tag with subcategories of selected category. Code in jquery: [CODE] $("#ka").change(function(){ function PostaviPodatke(podaci){ $("#pka1").show(); …

Member Avatar for hielo
0
132
Member Avatar for tashaX

Hello, I'm completely new to JavaScript. My project requires to display path from pointA to pointB on GoogleMaps using gps coordinates. For now all I'm trying to do is to display google maps webpage to start off. Using an online editor I was able to do that but when put …

Member Avatar for coolbuddy059
0
153
Member Avatar for harapanahallipr
Member Avatar for chintan@dani
-1
59

The End.