15,121 Topics
| |
Hi, Can you tell me what is the regular expression for a comma-separated list (in this case - IPs) ? My list looks like this: [CODE] 192.168.0.1, 10.%.23.100, %.46.%.1 [/CODE] So far I managed to create this: [CODE] ^[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}$ [/CODE] But I don't know how to specify a comma-separated list … | |
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 … | |
| 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$="' … |
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 == ""){ … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 = … | |
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() { … | |
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: … | |
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 … | |
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 | |
What is the best book to learn ,PHP,Javascript,DHTML, and AJAX? | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 | |
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. | |
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 … | |
Hi I'm looking for a JavaScript code I could use to rotate my 10 images on 10 seconds interval. | |
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 … | |
.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. … | |
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 … | |
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 … | |
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..... | |
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 … | |
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 … |
The End.