17,115 Topics

Member Avatar for
Member Avatar for KE50

Hi, I have been trying to get my way round the DOJO charting using the declarative (html) method. 1. I have a ItemFileReadStore for the data source 2. I know the data store has data as I am outputting it to a grid as well. The only thing that appears …

Member Avatar for KE50
0
109
Member Avatar for bloodbender

Hello Daniweb, I'm trying to validate form fields with php via jQuery and everything is working great, except for one thing I can't figure out. I'll try my best to explain. Here's the jQuery: [code] $(document).ready(function(){ $("form#reservation").submit(function(event){ event.preventDefault(); // Prevent default submission of form }); $("input#continueReservation").click(function(event){ event.preventDefault(); // Prevent default …

Member Avatar for bloodbender
0
182
Member Avatar for uselessninja

hi..i've searched google for this and yeah..google give me what i expected.. but it is possible to capture a screenshot from webcam and passing it to php and then saving it to database.. picture --> javascript --> php --> database or picture --> javascript --> database (well i dont know …

Member Avatar for uselessninja
0
196
Member Avatar for Donnovan

hi everyone, i never worked with php or any script language before i am more of a java, c++, C programmer, but for a school project i need to program a character converter in php, i have some problem recieving response from my php file. can someone help me this …

0
90
Member Avatar for magnetic rifle

I'm trying to create a program and found this website that was exactly what I wanted. When I followed all the instructions I got this java code which makes no sense and also gives errors when I try to assign a class. Please help. [url]http://labs.unwieldy.net/moocirclepack/[/url] [code] <script type="text/javascript" src="js/mootools-1.2-core-nc.js"> </script> …

Member Avatar for Taywin
0
167
Member Avatar for end3r

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 …

Member Avatar for Taywin
0
327
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
390
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
141
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
103
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
370
Member Avatar for tapuwa2002

Downloaded autocomplete plugin. its not bring out results am using an access db. When I type in text it does the search but with no proposed results display in the drop down. Is there something missing? [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> SELECT DISTINCT Cities.RegionCity FROM …

Member Avatar for tapuwa2002
0
206
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
60
Member Avatar for prit005

[code] <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#btnclick").click(function(){ $("#para").hide("slow"); $("#btnclick").click(function(){ $("#para").show("slow"); }); }); }); </script> <body> <form id="form1" runat="server"> <div id="para"> <p>The form contains a button to place the final order. In this example, pressing the button returns a simple JavaScript alert(), depending on the contents of the order. In …

Member Avatar for kvprajapati
0
872
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
99
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
80
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
122
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
395
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
172
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
197
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
223
Member Avatar for chiiqui
Member Avatar for AleMonteiro
0
115
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
279
Member Avatar for TheHaxx0r1215

Alright, I have a members area, area.php, and I used mysql to find the userlevel and display content depending on the userlevel, 1 for user, 2 for admin. I made it, but it displays both the user and admin for 1, and 2. [CODE]<?php // Members Area // session_start(); $usernamee …

Member Avatar for kanchana Mala
0
251
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
515
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
256
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
142
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
303
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
146
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
78
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
56
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
54
Member Avatar for keertg

Hai, Currently I'm writing code in ASP.NET using VB language. In my page, In left panel I have set of contents and in right there is a Calendar(Refer attachment CalendarView). I am using jquery (draggable pluggin)Drag Over and Drag Out methods to drag and drop the contents into a particular …

Member Avatar for keertg
0
112
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
143
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
174
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
110
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
128
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
86
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
131
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
150
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
95
Member Avatar for praveen_dusari

hi, Iam developing the website in ipad,using html5 database and html5 concepts...i am facing trouble in integrating my website which is developied in php and xslt..here we are using soap to get the articles and displaying it using xslt and php...here iam loading those articles in html5 database in php …

Member Avatar for kws.mumbai
0
158
Member Avatar for Mr. Shannon

Hello, I have been working on a website at my college (not coursework) that uses Pylons and Genshi. To avoid Genshi parsing the JavaScript code in a template I moved the JavaScript to a separate file. The problem is I tried putting the .js file in the templates directory (where …

Member Avatar for Taywin
0
176
Member Avatar for vaitalaziz

Hi ... I'm doing 1 web-system, where login page in .jsp but other functional page in .html where I use javascript to do function. So if user knows any other html page's url then they can browse directly any of those page. But I've to prevent them & send to …

Member Avatar for Taywin
0
311
Member Avatar for piyushsol

[CODE]var val1=document.getElementById("text_1"); var but_val=document.getElementById("button_1"); var but_val2=document.getElementById("button_2"); var but_val3=document.getElementById("button_3"); function click() { alert("the value is " +val1.value); } but_val.onclick=click; function array() { var length=val1.value.length; alert("length is " +length); var newarr=new Array(); for(var i=0;i<length;i++) { newarr[i]=val1.value[i];//this is the MAIN PART textbox value comes here in array supose value is 1234 alert(newarr[i]); } …

Member Avatar for Taywin
0
199
Member Avatar for sharelife

Hi, Sorry for my bad English. I'm trying to get HTML source of this webpage [url]http://priceboard.kimeng.com.vn/webdeploy/HoseBoard.aspx[/url] When I used function 'View Page Source' I get [CODE] ... <div id="divPTableInner" style="width:100%"> <div id="divPTable"><center style="margin:40px"><img src="images/loader.gif" width="32" height="32" border="0" alt="Loading"/></center></div> </div> ... [/CODE] But when I used Firebug (Firefox) to view source …

Member Avatar for Taywin
0
126
Member Avatar for Coyx

Hi guys, I'm wondering if anyone can help. I have surryussface flu and I just can't seem to concentrate at all. I need to be able to select a colour from a list like the attached image. I've managed to code it right up to the part where it can …

Member Avatar for Coyx
0
1K
Member Avatar for niths

hello all, In my script i have a plus(+) and minus(-) signs. Instead of those i need to call image from my image folder. so can anyone help me please.. Thank You.[ICODE]<script language="JavaScript"> $(document).ready(function() { $(".topnav").accordion({ accordion:false, speed: 500, closedSign: '[+]', openedSign: '[-]' }); }); </script> [/ICODE]

0
77
Member Avatar for Stefan_Lam88

Hi web developer, I want to know how do you guys fix your width in IE8/IE7?Because I got 1 table and let say example 4 columns.I only got 1 column temporary, it will auto populate the whole table eventhough I have defined my width in td. My condition is illustrated …

Member Avatar for Stefan_Lam88
0
110
Member Avatar for Danny159

Hey Guys, I have the following script... I also have a drop down list of all Towns and Cities in the UK... When a user changes the location I need the google map marker to love to that city... but allow the user to move the marker and show the …

0
68
Member Avatar for MARKAND911

I have a panel named "listState" on my aspx page Now in that panel i have number of dropdowns. I want id of that all dropdownlist present in "listState" How can i do this using JQUERY I tried following code $('#<%=listState.ClientID%>').find("select") But it doesnt gives me id of all dropdownlist. …

Member Avatar for touch_the_sky
0
145

The End.