jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for ben.marks

Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as …

Member Avatar for Airshow
0
308
Member Avatar for atzaman

Hi all. I currently have an issue where a javascript drop-down menu I have is displaying below the javascript slide show I have on the same page. I know this issue has something to do with the slideshow part having position:relative but how do I fix it? Works fine on …

Member Avatar for atzaman
0
239
Member Avatar for samsambm

Hello . I'm not sure what is wrong in my code. I'm trying to expand table row to see more details from mysql query . The idea is to click 'show / hide ' link and on that onclick event the row below need to be expanded.Here is my code …

Member Avatar for samsambm
0
786
Member Avatar for Awah Mohamed

hey people . i want to create a a posting system , not the usual one , i want to create a posting system like the wordpress one , it should provide add image and fonts and sizes and it automatically add new lines , i shearched in google for …

Member Avatar for whiteyoh
0
69
Member Avatar for LiQuid.Ace

So basically what im trying to do is pass a variable from a JS function to PHP variable. Currently the onClick code is: [code] <?php include('onload.php'); ?> <body> <br /><br /><br /><br /> <center><font color="black" size=20><a style="text-decoration:none" href="#" onClick="showpopupshare()"> [/code] ShowpopupShare(): [code] function showpopupshare() { document.getElementById('mmpopup').style.display='block'; document.getElementById('mmpopup1').style.display='block'; window.setTimeout("StartTheTimer()",30000); } [/code] …

Member Avatar for blocblue
0
154
Member Avatar for i4ba1

Hai all, I'm being create a dictionary. In the dictionary have feature search the word. if user entering the character "g" the word view in JList will show the word begin with "g". i try this first using Linier Search, it found the word, but linier. i mean if i …

Member Avatar for i4ba1
0
1K
Member Avatar for LianaN

Hi! I would like to make transparent my two JScrollPane components. Could please someone explain me why the code [ICODE] scrollPane1.setOpaque(false); scrollPane2.setOpaque(false); imagePanel.setOpaque(false); beads.setOpaque(false);[/ICODE] does not work? Thanks! [CODE] public SelectablePanel() { beads = new BeadsCollection(NR_OF_BEADS); imagePanel = new ImageSelectionPanel(0, NR_OF_BEADS_SIZE); p = new Point(); JInternalFrame jif = new JInternalFrame("Title", …

Member Avatar for LianaN
0
300
Member Avatar for cas22

I would like to somehow get both of these identical slideshow scripts working at the same time. Any help would be much appreciated" [CODE]<!-- dress --> <div class= dress> <div style="position:absolute; background-color:transparent; border-color: #000000; border:0px solid ; top: 443px; left: 346px; width:397px; height:255px;"> <script language="JavaScript1.2"> var variableslide=new Array() //variableslide[x]=["", "", …

Member Avatar for Airshow
0
96
Member Avatar for ana10192000

Hi, I currently created a video uploader, but when the video is too big in size, the page seems to be not doing any until the video is completely uploaded. I want to put somewhat like "loading.. please wait" script until the video is not completely uploaded. Thanks. //Ana

Member Avatar for ana10192000
0
123
Member Avatar for BaSk

We have a client that came to us, and his admin panel is using a iframe system, [CODE]<html> <head> <title>Administration Area</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset cols="180,*" frameborder="NO" border="0" framespacing="0"> <frame src="menu.php?id_mnu=prd" name="leftFrame" frameborder="yes" scrolling="YES" noresize> <frame src="landing.php" name="mainFrame" frameborder="yes" bordercolor="#000000"> </frameset> <noframes><body> </body></noframes> </html>[/CODE] Now I'm loading landing.php …

Member Avatar for spacific
0
131
Member Avatar for nyler01

please help me for this web masters out there my problem is: i have a that pulls out information from the database $query=mysql_query("select * from requirements) $rnum=0; echo "<form name='requirements' action='checkrequirements.php' method='post'>"; while ($requirements=mysql_fetch_array($query)){ $result=$requirements['requirementname']; echo "<input type='checkbox' name='$result[$rnum]'>" . $result . ""; $rnum++; } echo "<input type='submit' value='Enroll'>"; echo …

Member Avatar for Shanti C
0
108
Member Avatar for skald89

I want to add a + - for collapse and expand all. I would prefer to have them change accordingly but it isnt necessary. this is my javascript var toggleMenu = { init : function(sContainerClass, sHiddenClass) { if (!document.getElementById || !document.createTextNode) {return;} // Check for DOM support var arrMenus = …

Member Avatar for codewall
0
256
Member Avatar for speer25

Ok so before I posted this I have been working on this code off and on for 2 weeks. Its probably so simple for someone. If any one could get me out of my rut I would so appreciate it! Basically I'm trying to get a select box to display …

Member Avatar for speer25
0
108
Member Avatar for crazycat503

Am new to CKEditor though I have used tinymce before. What I liked about cheditor is its drop down styles feature. But I can't seem to get it to work at all. here is my code: [code] <head> <script language="javascript" type="text/javascript" src="javas/ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> …

0
83
Member Avatar for newbie14

Dear All, Attached is one sample image. I would like to make it dynamic with different tyre configuration. The next thing I want is the ability to drag (each of the different tyres) to say few different functionalities which will be represented as icons. Thank you. Any idea.

Member Avatar for Member #120589
0
103
Member Avatar for livermore

Hi! I want to parse data from tables in webpages , there are no problems when I parse regular HTML tables, but it seems to be impossible to get any data from dynamic pages that update themself automatically. Do you have any clue how to extract data from dynamic web …

Member Avatar for Airshow
0
126
Member Avatar for Siege

Hi, I want to make a page that has a code that can make my image change into another image. Lets say I arrive at work one morning. I go to my "website" click on a red image, and in turns green. Now I want it to stay green all …

Member Avatar for dietdew12z
0
252
Member Avatar for bello.ojo

Hello all, I am just learning AJAX because I find it interesting but my first example does not work the way I planned it. Here is the code: This is my HTML file named ajax.html <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="" /> <title>Untitled 3</title> <script type="text/javascript" …

Member Avatar for SolidSolutions
0
128
Member Avatar for himanshu_roy81

hi, How to open a popup window when i click on edit button in gridview.plz give the code.help me Himanshu

0
60
Member Avatar for anandhikrishnan

Hi All, I have a function reloaddash(1); for refresh the db.js in db.js file which sends a ajax request to the action file. In this .js itself I draw the table,td,tr for display. I dont use seperate .jsp file to draw. By onclick a link in this js file I …

Member Avatar for Shanti C
0
325
Member Avatar for Member #874591

Hi everyone, I'm naive to javascript as well as JSP. I'm involved in a project where i need to code a web page similar to shopping cart type of thing. The user selection needs to be displayed in the same page dynamically using JavaScript and then after confirmation from the …

Member Avatar for Member #874591
0
150
Member Avatar for skald89

.olddiv { overflow:visible; background-color:#1D41A4; padding-right: 10px; padding-bottom: 20px; padding-left: 10px; } <div id="old" class="olddiv"> My text that overflows is visible but it does not have the div's background color. How do I get it to keep the background color?

Member Avatar for skald89
0
98
Member Avatar for sirlink99

My game that I made works correctly when I run it in the window from my IDE, but when I run it from a browser the game buttons don't animate. can anyone tell me why it's not working? another problem. When [I]New Game[/I] is pressed in the IDE window a …

0
48
Member Avatar for brynFlew

Hello, I was wondering if it is possible to restrict the values of a text input box to only accept set values such as "XBC1". I am trying to make a form for a scanner so you can scan bar codes and it will auto fill the form out and …

Member Avatar for Airshow
1
246
Member Avatar for skald89

I have a form on page 2 and I want the information submitted on the form to be sent to page 3. How do i do that?

Member Avatar for skald89
0
125
Member Avatar for Hawkeye Python

Hello! I've made a drop-down menu using the hover sub-class in CSS: [CODE].ddmenu{ display:none; } .box:hover .ddmenu{ padding:0px; display:block; }[/CODE] Is it possible to make the "ddmenu" object appear when the user clicks on the object with the "box" class instead of when he hovers the mouse over it using …

Member Avatar for shaya4207
0
139
Member Avatar for m-hrt

internet explorer shows blank page of my website im working on the website works fine on firefox but in internet explorer all im seeing is a blank page..... here is the link of the website also in local computer its not working why??? [url]http://www.deezmedia.net/dev_projects/karaoketalent/index.html[/url] thanks in advance.... here is the …

Member Avatar for SolidSolutions
0
238
Member Avatar for BlueCharge

Hi Everyone, I have made my own forums/site which is working out quite well. The only problem I'm having is when people edit there topic or if I edit the news. The current topic or news is loaded into a textarea including all the line breaks which were instered via …

Member Avatar for Borzoi
0
117
Member Avatar for Ryujin

I wrote this script that enables user to send a search to a library catalog and/or a group of article databases. [URL="http://unixweb.kutztown.edu/~rjens816/php/twinsaltbox.htm"]It works roughly as hoped[/URL] in IE and in Firefox, [B]but[/B] in Safari and in Chrome it refuses to send two searches simultaneously (the third button on the prompt …

Member Avatar for Ryujin
0
299
Member Avatar for kardklub

Im no good at javascript but i have a form with a field which u type in and it suggests customers from the sql db which matches the characters typed. The problem is i may have a customer with this 'good & small' which in my db looks like this …

0
83
Member Avatar for 612wharfavenue

I wrote this to trigger a video when an image is clicked, but its not working. Any help? [CODE] <head> <style> #movie {} #img {} </style> </head> <body> <embed type="application/x-vlc-plugin" name="VLC" target="mymovie.webm" id="movie" > </embed> <img src=myimage.jpg" id="img" /> <script> var v = document.getElementById("movie"); var i = document.getElementById("img"); i.onclick = …

Member Avatar for parmarsanjayr
0
186
Member Avatar for EricIskhakov

Hi. I'm intrested in finding out if a client watched an entire video, and i was wondering if it is possible using JS or any other client-side language? and if not what would be the best approach? Thanks in advance, Eric

Member Avatar for Wraithmanilian
0
117
Member Avatar for NickBogi

I am trying to create a dynamic form for the first time. I need an product reservation form that allows up to 10 products to be reserved. I have line 1 done and the javascript code is working. [URL="http://ryanpartyrentals.com/nb/formtest.php"]http://ryanpartyrentals.com/nb/formtest.php[/URL] Let's call those fields Category, SubCat, SubCat2 (left to right). The …

Member Avatar for Airshow
0
183
Member Avatar for winky

Hey everyone, I have been receiving an error that states that one of my variables ("$fileAmount") is undefined. I was hoping you guys might see something in my code where I am making a mistake. Please note that this is not the entire code, but where the error is occurring. …

Member Avatar for Airshow
0
91
Member Avatar for azegurb

hi All i have taken from internet script that post data with the help of AJAX and PHP below is script [CODE]<html> <head> <script type="text/javascript" src="prototype.js"></script> <script> function sendRequest() { new Ajax.Request("test.php", { method: 'post', postBody: 'name='+ $F('name'), onComplete: showResponse }); } function showResponse(req){ $('show').innerHTML= req.responseText; } </script> </head> <body> …

Member Avatar for scrappedcola
0
110
Member Avatar for shailaja mohite

HI, I have written code for image uploading, when i upload image then text in other controls gets cleared, whole page get refreshed , then how to prevent this whole page refreshing in javascript or html.

Member Avatar for ArtistScope
0
149
Member Avatar for Hawkeye Python

Hi! I don't know much about Java and I'm new to JQuery. I want to replace "+ Table" for "- Table" when the user clicks on it. For that I've used: [CODE]$(document).ready(function () { $('#table1_head').click(function () { $('#button1 a').replaceWith('- Table1'); }); });[/CODE] It worked. But I want to replace "- …

Member Avatar for Hawkeye Python
0
208
Member Avatar for k2k

hi, basically i have this function. [code] function showDetail(checkBoxShipmentId) { xmlhttp = GetXmlHttpObject(); // this calls function below if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="detailBackend.php"; url=url+"?shipmentid="+checkBoxShipmentId; //?shipmentid = value of the checkbox, which is the shipmentid url=url+"&ran="+Math.random(); if(xmlhttp.readyState ==4) { xmlhttp.onreadystatechange= displayDetail; xmlhttp.open("GET",url,true); …

Member Avatar for Airshow
0
645
Member Avatar for solvision

Hey guys ok so the site i was working on is now live. Love that ajax function of loading pages in divs without reloading the whole page. [URL="http://www.horizoneslchina.com/"]www.horizoneslchina.com[/URL] But now i've hit another problem because of that. Adsense wont load on the pages that are loaded within the divs. If …

Member Avatar for solvision
0
195
Member Avatar for ALFA-FOXTROT

I have this code in the general js file. [CODE] $("#tabs").tabs({ collapsible: true, cache: true, ajaxOptions: { error: function(xhr, status, index, anchor) { $(anchor.hash).html("Couldn't load this tab. We'll try to fix this as soon as possible. If this wouldn't be a demo."); } } });[/CODE] And [CODE]$("#tabs").tabs( "remove" , 2 …

Member Avatar for ALFA-FOXTROT
0
693
Member Avatar for ansari.wajid

I am facing a unique bug on a website I am developing, Its occurring only for IE(I am using IE8) that too only on the online version of the site, On my local machine its working perfectly and on all other browsers(firefox, safari, and chrome) its working perfectly both on …

Member Avatar for ansari.wajid
0
237
Member Avatar for freshmem

hi everyone. i`ve been digging with jquery UI modal form. here is the link [url]http://jqueryui.com/demos/dialog/#modal-form[/url] i want to connect the jquery to my localhost,i mean when user create an account, it will be saved in my database.i`m facing some problems in it.. here`s my code.. [CODE] <div id="tabs-1"> <style> body …

0
253
Member Avatar for chand5055

Hai Friends........ I want program code only using html and javascript. First I took one form and created some data on it like name:xyz address:hyderabad country:india. hobbies:reading,cooking. submit button. Above is one simple form after submit i want it to display it in another page like out.html. so what can …

Member Avatar for Shanti C
0
133
Member Avatar for xuexue

hi, how could i change the color of the cell in a table using this code?? [CODE] <script language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var cella = row.insertCell(0); var element1 = document.createElement("input"); element1.type = "text"; element1.name = "txtManufacturer[]"; element1.size = …

Member Avatar for codewall
0
99
Member Avatar for codedude

Hi friends, I have a application where i want to show updates from my friends in facebook.For that i am trying to use Activity feeds plug-in.But when i run the application(from local host),even after authentication,the plug-in doesn't show my friends activity in it.Any help regarding this will be appreciated..thank you.

Member Avatar for ranacseruet
0
106
Member Avatar for moonknight33

Please help me, my check/uncheck all boxes javascript example work not normally in IE8, but Firefox and Chrome, when I click to box with id "chkAll" to control other box with id "chkId", nothing happen in IE8 but a dotted border outline the checkbox, when I click to outside the …

Member Avatar for moonknight33
0
188
Member Avatar for shamala

i need javascript code to count the number of div tags in a code with same id and assign same value for div tags with same id

Member Avatar for kurtopia
0
68
Member Avatar for tcollins412

i am making a javascript slide show. i am using this code for js: [CODE] <script language="JavaScript" type="text/javascript"> //<!-- //<![CDATA[ first = 1; last = 2; current = 1; function nextPicture() { // Hide current picture object = document.getElementById('slide' + current); object.style.display = 'none'; // Show next picture, if last, …

Member Avatar for codewall
0
257
Member Avatar for eefh01

Hi, I am working on submitting a form with various info to update on db using jquery, ajax. The db is updating perfectly when I disable JS on firefox. When enabled, a few fields (adID, userID, comments) are not updating on the db. The field userID updated as zero, but …

Member Avatar for Airshow
0
179
Member Avatar for ans2007kumar

My java script of validation is not working don't know why here is the code Header php file [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="c.css" /> <title>simple document</title> <script src="validate.js;cart.js"> </script> <script type=" text/javascript"> <?php session_start(); ?> </script> …

Member Avatar for Member #120589
0
164

The End.