15,127 Topics

Member Avatar for
Member Avatar for deadmancoder

i have a form.. i validated it.. if the form has an empty field, instead of popping up an alert box, i need to display a message that goes off say after 5 seconds.. any idea of how to do it?

Member Avatar for digital-ether
0
403
Member Avatar for Ghostenshell

Could someone show me how to add line numbers to a sorted list? If you need the code it is under the last thread I started. I started using document.write() but every time I did this the page would erase.

0
72
Member Avatar for swaters86

I'm looking for a snippet of code that would let me generate testimonials, quotes or any string value randomly on a webpage. I would like for it be standards compliant, XML based(meaning I would store the testimonials in an xml file), and the less obtrusive it is, the better. Where …

Member Avatar for mejohn
0
829
Member Avatar for Terry56

Hi to al :)l, Hope all will be fine. I want to include a link in the alert method.I tried this [code=JavaScript] alert("Please enable your java to experience this enhanced page." + '<a href="http://www.java.com/en/download/index.jsp" target="_blank">Free Download Java</a>'); [/code] But this will not made a link it shows all as it …

Member Avatar for almostbob
0
267
Member Avatar for gokul.raja

Hello, This is Gokul Rangarajan. I need a suggestion or code in JavaScript which reads the MS Word document page settings and number of pages. I know how to open and read a MS Word document, but i couldn't able to get page properties. Some one please help me with …

Member Avatar for gokul.raja
0
186
Member Avatar for mvt6204

Hello guys, is there a way to detect whether JS is enabled or not, using PHP codes? Thanks in advance. =)

Member Avatar for CalmQuiet
0
195
Member Avatar for dangari

Hi all.Am new to this forum so cut me some slack if I don't articulate my problem with utmost clarity.My problem is that I have a javascript function such as: function modReg(x,y) { <!-- var answer = confirm ("Do you really want to deregister user" +x+"?") if (answer) { document.leo["id"].value=x; …

Member Avatar for dangari
0
160
Member Avatar for Terry56

Hi to all, Hope you all are fine.I have a javascript to check whether java is installed or not on your system.The code is [code=JavaScript] <body> <script language="Javascript" type="text/javascript"> if(!navigator.javaEnabled()){ alert('Enable your java to expeirience this java enhanced page or\n try install it...'); location.replace('http://java.sun.com'); window.open('instructionsforintallingjava.html'); } else{ document.write('<applet watever></applet>'); } …

Member Avatar for Terry56
0
188
Member Avatar for Ghostenshell

New to JavaScripting and copying information out of a book. I understand the concept of the code but I do not know why it is not working. I can type info in both boxes but the information does not add. Tried it in three browser FF, IE, and Chrome. [CODE]<html> …

Member Avatar for Ghostenshell
0
112
Member Avatar for filch

Ho, I am building a large registration form. In this form, a sponsor/educator must register himself or herself and then may add up to 6 more " delegates" in pairs. The first two pairs registration info on the form is shown by default. I need to hide the other two …

Member Avatar for filch
0
128
Member Avatar for matthewl

When I looked at Get started tutorial at Jquery.com I thought that it took more code in the Get started tutorial then it would just writing it myself. I really did not see any pros so I am asking this question. What are some advantages Jquery has? I just want …

Member Avatar for serkan sendur
0
52
Member Avatar for eligmatic

I have this script: [url]http://snipplr.com/view/19692/g-or-y-search-hilite/[/url] but it won't search for chars like ')' . How should I adapt it? Thanks.

0
72
Member Avatar for thegreatdanton

Im having a problem trying to combine a datepicker with a form that is displayed with a lightbox. With out the lightbox effect, the form works with the datepicker. when the lightobx effect is implemented, the datepicker will not work. below is the code for the form with the date …

Member Avatar for thegreatdanton
0
98
Member Avatar for gk0110

Hi all , I have to sort a table where few columns are dynamically generated .I searched the net and came out with sorttable.js included in my jsp file . then called this function in <body>onload event as initTables('id_of the table"); It was working out for me.. But with some …

Member Avatar for SAMAEL
0
79
Member Avatar for deadmancoder

hello all, i am new to ajax.. unfortunately, i was given an assignment before i complete ajax.. i need help, someone pls direct me where i can learn to solve the following thing!! Consider a web page has 3 frames, the top has the header, the left has the actions …

Member Avatar for Thirusha
0
115
Member Avatar for jaid_3k

Hi this function is to add a Note to the database. Now I want to remove the Note when there is no text available in the Note. I am unable to delete the row from the database and so the next time when the page loads the Note reappears. Kindly …

0
60
Member Avatar for kwesiaryee

Hi there, Can some one help me with the following problem. I need to pass the date to 2000-02-02 date format so that mysql will accept it. The following code is as follows; [CODE]function checkdate() { var begDate = new Date(document.demoform.now.value); var endDate = new Date(document.demoform.later.value); var difDate = endDate.getTime() …

Member Avatar for kwesiaryee
0
135
Member Avatar for dskanth

Hi, iam a Bebo application developer, and iam posing a security issue with Firebug on my bebo application (an online game) online. The users are using firebug to cheat the game, and its driving me nuts. I see that Bebo uses SNJS as its javascript, and a normal javascript will …

0
70
Member Avatar for cwarn23

Hi and I have been looking around and found that google has a few search api's but haven't yet found one that returns the results as a javascript/ajax array. Is it possible to at least get the google api to send the results to my website as a variable/array in …

Member Avatar for cwarn23
0
187
Member Avatar for deadmancoder

using ajax/javascrtipt, how to browse for a folder and get *.xml files in the given folder path.?? :?:

Member Avatar for deadmancoder
0
76
Member Avatar for deadmancoder

how to parse an xml file using ajax and javascript? i know this is basics.. but couldn't get it the right way. could someone help me out..

0
61
Member Avatar for sunilsinha

I need to rotate text by 90, 180 and 270 degrees. How can i achieve this in firefox2. In brief, what i am doing is, there is one main container div whose background is set by 600x400 image. There are 4 inner divs each having some text. Now i have …

Member Avatar for rhand
0
168
Member Avatar for AdventDeo

Ok so I have two separate AJAX function that I want to combine but have no idea how. The first 2 files are to call up a table with cells in the form of text-boxes, and the last 2 files are linked dropboxes. What I want to do is to …

Member Avatar for AdventDeo
0
118
Member Avatar for InsightsDigital

Back even a few years ago, it was popular to use log files to ascertain web analytics. Now, most companies use a javascript tag that the web analytic tool picks up. Hence, do you still rely on logfiles? Or do you forget it even exists?

0
73
Member Avatar for itisnot_me

is it possible to run a command in javascript when someone paste text into a textarea? What i am trying to do is make a remove format command in the text editor run when they paste. And if it is possible make it run the command on the text without …

Member Avatar for Troy III
0
60
Member Avatar for Sereal_Killer

im busy with a school project to create a photo viewer type site with java script. the whole thing i being created from java script and im giving all the img's an ID tag how do i go about getting the id of the img that i have just clicked. …

Member Avatar for Sereal_Killer
0
245
Member Avatar for jazzycontact

hi i don't know it is wright place for it or not. i am new in javascript programming. i am try to implement find and replace functionality. in it i want to search keyword in particular div only. not other part of the page. i have implement following code function …

Member Avatar for Troy III
0
115
Member Avatar for Chad Gary

[QUOTE]I'm currently using prototype framework to validate whether or not a field is has data. When the field is empty and the user hits the form submit button the intended alert message box comes up, but after you hit OK on the message box it submits the form anyway, which …

0
52
Member Avatar for Norbie

Hi guys, I have a coding problem here that I can't quite figure out. For a clothing website I need to display stock information for each product related to colours and sizes available. I'm using a mysql database to store information on what sizes and colours are available. The structure …

Member Avatar for Norbie
0
70
Member Avatar for PetrQ

Hello, please help me with following jQuery code. I'm javascript user only and I donĀ“t understand it :( I use jQuery validate from [URL="http://bassistance.de/jquery-plugins/jquery-plugin-validation/"]http://bassistance.de/jquery-plugins/jquery-plugin-validation/[/URL] Following part of code is modified for array form. It works great for array in format: example[] . But I need use array: example[$i][quantity]. [CODE] //modified …

0
53

The End.