15,120 Topics

Member Avatar for
Member Avatar for stockton

I have the following code which works fine until I try and display graphics. Please tell me how I could/should display the odometer in graphics format rather than text. I have all the necessary images as .png(0 through 9) in the same folder as the following code. It is just …

Member Avatar for Taywin
0
374
Member Avatar for nblackburn

Hello Developers, i have a link structure like this on my website... [CODE]index.php - homepage index.php?section= - other pages[/CODE] here is a piece of code that i wrote to change the colour of the active link... [CODE] $(function(){ var path = location.pathname.substring(1); if ( path ) $('#nav ul#navigation li a[href$="' …

Member Avatar for nblackburn
0
139
Member Avatar for kukuruku

Hi,I am trying to verify form input for length(before that I would like to trim it) How can I do that for user Thanks [CODE]function verify(){ var user=document.getElementById("user"); var pass=document.getElementById("pass"); var msg= ""; document.write("Length "+user.length); if(user.value == ""){ msg+= "Please enter a username!\n"; user.className = "inpBoxError"; } if(pass.value == ""){ …

Member Avatar for HG&C
0
100
Member Avatar for Virangya

hi.. i used this code to display a clock. [CODE]<script type="text/javascript"> var int=self.setInterval("clock()",1000); function clock() { var d=new Date(); var t=d.toLocaleTimeString(); document.getElementById("apDiv1").innerHTML=t; } </script>[/CODE] in firefox it displays like this 7:25:00 PM and in Chrome 19:25:39 i want to show a similar clock as in firefox in Chrome. How can …

Member Avatar for Taywin
0
368
Member Avatar for r.w.566

hi, im fairly new to najax and i am assuming its similar to ajax, but iv been asked to fix a website which uses it to interact with its database, they upgraded their server from php4 to php5 and the website stopped working, so they asked me to fix it. …

0
57
Member Avatar for Munnazz

HI, I have a radio button list item. I want to add a new item to it using javascript. Could u please help mee. My radio button list already consists of three items names r1, r2,r3 which is an asp control. But now u want to add a new item …

Member Avatar for kvprajapati
0
96
Member Avatar for Stefan_Lam88

Hi guys, Did any1 of you pro in jquery. I have a question regarding this. whether IE7 support ui-tab for jquery?my jquery uitab works for firefox,chrome,Ie8 and 9 but not IE7. Did it require any specific thing? my IE7 appear to have all information shown but it doesnt apply the …

0
77
Member Avatar for calebcook

Hi. I'm trying to make a script which submits the form without refreshing the page. Also, I'd like to have it submit onkeyup. I can't figure out how to do that. Can anyone help me? My code is [CODE] <script type="text/javascript"> $(document).ready(function(){ var $form = $( '#myform' ), url = …

Member Avatar for bloodbender
0
119
Member Avatar for rad1964

I can not for the life of me get an ajax example/tutorial to work. I have tried dozens including prototype library and JQuery. Here is my latest attempt: [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>Easy</title> <script type="text/javascript"> function getXMLHTTP() { …

Member Avatar for rad1964
0
387
Member Avatar for GrinShady

Hi guys, I am still new to JavaScript. In our class we were required to create an application wherein you can dynamically add elements and use them. I don't know what I am missing here. Any ideas? Thanks in advance. Some of the codes are actually based on this link: …

Member Avatar for Taywin
0
165
Member Avatar for sammry

What is wrong with this code in IE, rest of the browsers its working fine, but when it comes to IE, it gives an error popup, Access is denied. Can some one help please. [CODE] var IE = false; if (navigator.appName == "Microsoft Internet Explorer"){IE = true} if (!IE){document.captureEvents(Event.MOUSEMOVE)} document.onmousemove …

Member Avatar for AleMonteiro
0
195
Member Avatar for dantheman50_98

Hi There, I've come across this interesting web page - to see what I'm talking about, just hover over each image: [url]http://poptech.org/speakers?utm_sour...m_medium=email[/url] Could this sort of thing be accomplished fairly easily with an existing javascript library/script? A jquery script would be ideal if such a thing exists. Thanks, Dan

Member Avatar for AleMonteiro
0
222
Member Avatar for chiiqui
Member Avatar for AleMonteiro
0
113
Member Avatar for newmaster

Does anyone knows how to group dynamic table rows What I want is: when user chooses same name second, third... times It must add quantity value instead of adding new row here is my code: [CODE] <html> <head> <script language="javascript"> // JavaScript Document function updateSum(formID, nameID, quantityID, priceID) { var …

Member Avatar for AleMonteiro
0
272
Member Avatar for babbu

Hi I am looking to set the value of <portlet:param> tag using java script. Here is my existing code [CODE] <form name="frmname" method="post" enctype="multipart/form-data" action="<portlet:actionURL><portlet:param name="page" value="mainview"/></portlet:actionURL>"> [/CODE] And I am setting the value of the portlet:param tag by calling the following javascript on the page load event. [CODE] function …

Member Avatar for babbu
0
511
Member Avatar for stranger_on_way

Hi guys, Please help me out. I have a webpage in which there are multiple images. All i want is that when a user clicks on any image it gets displayed on the bottom left corner of the page and when second image is clicked it is displayed adjacent to …

Member Avatar for AleMonteiro
0
252
Member Avatar for Dredgy

Hello. I'm not sure if anyone will be able to help me with this, because I've been unable to find a straight answer on the internet, and I thought it would be something that loads of people would want to do. Let me make it clear I DO NOT WANT …

Member Avatar for AleMonteiro
0
138
Member Avatar for minimogul

[URL="http://www.web-source.net/javascript_disappearing_form_text.htm"]http://www.web-source.net/javascript_disappearing_form_text.htm[/URL] This shows exactly what I want to do but it does not work in chrome localhost the text just stays there. I don't understand why everything is always screwed up in local host :@ . I want to make this with Jquery to make it more accessible for my …

Member Avatar for jsdev
0
301
Member Avatar for vidjin

Hi, I want a Jquery based Ajax solution for Uploading, Cropping and Saving Images... I have been trying to find it for 3 4 days but I am only finding tutorials and solutions with postbacks when cropping images. Please help. thanks

Member Avatar for vidjin
0
140
Member Avatar for ABUMIN

Im learning to build websites using HTML and CSS i already know that HTML creates a struture and CSS create the layout but what can JavaScript be used for? Also can ActionScript be used too as I already know quite alot of ActionScript. please help.

Member Avatar for DILO3D
0
75
Member Avatar for ABUMIN

I have a question about item list. I'm currently using Dreamweaver in HTML language to build pages.I make all sort of forms and list menu, but about List Menu, I have a problem and that's that when i create a list menu, I'd like to have my initial item in …

0
54
Member Avatar for Vusumuzi

Hi I'm looking for a JavaScript code I could use to rotate my 10 images on 10 seconds interval.

Member Avatar for Ritesh_4
0
52
Member Avatar for wright67uk

Ive been playing around with a couple of scripts both of which work well on their own. The first is a basic alertbox that uses a hotkey; [Code] <script> $(document).jkey('o', function(){ alert('Pressed o');}); </script> [/code] The second is a custom alert box which displays after clicking on a link. How …

0
141
Member Avatar for hiyatran

.innerHTML is used when you trigger an event but if you just want to display the text how would you go about do it?? I don't want to used document.writeln because it will "[B]Wipe out all the contents[/B]" of that page. So I have some HTML text and javascript text. …

Member Avatar for LaxLoafer
0
171
Member Avatar for cancer10in

Hi Can someone help me find a script similar to the dropdown search as seen on [URL="http://www.oanda.com/currency/converter/"]http://www.oanda.com/currency/converter/[/URL] where I am able to: 1. search currencies from the list. 2. Scroll through all the currencies with mouse and keyboard UP and DOWN keys. 3. Have a custom scrollbar Many thanks in …

0
107
Member Avatar for cancer10in

Hello All I have been struggling since 2 days with this problem and I hope someone can help me out. I want to have custom scrollbars (like [url]http://jscrollpane.kelvinluck.com/basic.html[/url]) for the jQuery UI Auto-complete plugin. Currently there seems no way to integrate custom scrollbars for jQuery UI Auto-complete plugin. So if …

0
126
Member Avatar for ankit.pandey3

Hi friends.... I have an alert message just like [CODE]alert("Hiii");[/CODE] I want to close it automatically as soon as it appears. It means I don't want to show this alert message to client. Can anyone tell how i can do it??? Please help me...... Thanks in advance.....

Member Avatar for Taywin
0
84
Member Avatar for himmat.m4

Hi, In our project I am using ajax with jquery. here I have applied some code of java script on splitting response which comes from server side. This code is working fine for small data. Whenever same application used for large data, script gives problem. This problem is value is …

Member Avatar for himmat.m4
0
130
Member Avatar for Virangya

hi i made an image slider. it loads all the images from the data base using php and for sliding and timing intervals i used javascrpt and ajax. through back end of the systems can edit these images and upload new , update and delete. i want to reflect the …

0
146
Member Avatar for tonydeleon

Hello Can you please help me with this easy cake, On a form I have 4 listboxes listbox1 listbox2 listbox3 listbox4 What I need is to count the listboxes which values selected are = 1. and display the result in a textbox1 For example : if listbox1 and listbox3 are …

Member Avatar for Taywin
0
91

The End.