15,121 Topics

Member Avatar for
Member Avatar for aditya61

Please help me... not able to figure out what is wrong with this code! <?php if($_POST == "submitted") { echo ' <script type="text/javascript"> // Used them both and to my horror, none of them work!!! document.BPC.postback.innerHTML = "postback"; document.getElementById("postback").innerHTML = "postback"; </script> '; } ?> <html> <head> <title> Help me! …

Member Avatar for aditya61
0
83
Member Avatar for tbrambor

I am trying to get some data off a Brazilian government website. The data is accessible through a form with some javascript. I am able to get the form and fill it out, but have trouble submitting it (a button needs to be clicked). I am using the library mechanize …

Member Avatar for tbrambor
0
4K
Member Avatar for twilitegxa

I'm trying to develop a little game and I have run into a problem. Currently I have the user log in, choose their character, and then go to a page where they can fight random monsters. When they get to the page to fight with the random monsters, the character's …

Member Avatar for almostbob
0
141
Member Avatar for mundee
0
65
Member Avatar for Froger93

Hello all, I am having some real issues with internet explorer. I have created a jQuery image rotator (flick along a selection of images). Everything works on everything but internet explorer. So much so that Internet Explorer doesn't even display the first image even before the transition. Instead I just …

Member Avatar for kflorida78
0
400
Member Avatar for bsewell

Hi all, I wondered if this was possible. i have a div, which I would like some images to rotate as the background-image so it is a slideshow. In additional, I want a fade in/out effect between the image transition. Basicly, what I'm asking is, how do I do it? …

Member Avatar for pritaeas
0
173
Member Avatar for collizz

Hi I have a basic PHP contact form using JS validation for empty fields, format checks, etc, which all work fine. I now need to add a mail() using the user input. I've made a version work, using some basic validation in PHP and comment out the JS, but I …

Member Avatar for Monster Killer
0
654
Member Avatar for Shanny Chong

can anyone tell me how to print out datagrid to paper using web control? i am using asp.net in vb.net.... is it need to use javascript to write at the html part? can someone kindly teach me pls? i need to know the print function....thanks...

Member Avatar for arrowgunz
0
86
Member Avatar for bidbul

hello, can you please help me? i wanted some clickable texts which opens not 1 but 2 urls in 2 different iframes. this code works on ie and opera but not on ff. i don't know what to do. thanks! [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"> …

Member Avatar for bidbul
0
172
Member Avatar for nonshatter

Hey, I have been trying to devise a way to insert a formatted PHP date() variable ($expires) into a publicly available javascript countdown clock. Obviously, this is made difficult because PHP is server-side and Javascript is client-side. This first piece of code is me adding a number of days to …

Member Avatar for BeachyUK
0
234
Member Avatar for shd64

Hello, I have two cfselects set up so that selecting an option in one populates the options of the 2nd select. It works perfectly on my local environment, but when I test it on our QA server, it gives the error: "Bind failed, element not found: sltBiz" where sltBiz is …

Member Avatar for arrgh
0
306
Member Avatar for Dhanish

i need to validate a form using only JavaScript all the validations seem to work except that when it runs the function validateform() it doesn't return anything if all validations have been passed [CODE] <html> <head> <script language = "Javascript" type = "text/javascript"> function echeck(str) { var at = "@" …

Member Avatar for Dhanish
0
2K
Member Avatar for nonshatter

Hey guys, I am in need of a live real-time clock to count down to zero depending on the length of days specified in a database (Like an auction count-down timer). For example, I can retrieve the length of time specified in the database, somehow put that value into the …

Member Avatar for nonshatter
0
705
Member Avatar for sarkar.manab

i have button in javascript, when i click ,it calls a CGI perl script and returns a download popup to me. Prob--> When javascript calling the script it starts a new thread redirecting to perl script and end. So i m not getting any action or response inside javascript. What …

Member Avatar for mitchems
1
1K
Member Avatar for danale

Hello, I am writing an ASP.NET application using javascript. It uses a modal dialog which has a button. When pressing the button another window is opened. I'd like to perform the action on submit without opening a new window. Here is some code for example: [B]code for first.aspx:[/B] [CODE] <html …

Member Avatar for saulat78
0
678
Member Avatar for xirian

I don't know why sometimes in the page url's there is some kind of "get" attached like this: [url]http://localhost/web_marketing/prova/campaign.php?titolo_campagna=sdfsdf&descrizione_campagna=sdfsdf&registrati.x=41&registrati.y=18[/url] Even if i use post in the ajax request.There must be something wrong with my code, if someone could help me please. [CODE=javascript] <script type="text/javascript" > var XMLHttpRequestObject=false; if(window.XMLHttpRequest){ XMLHttpRequestObject=new XMLHttpRequest(); …

0
56
Member Avatar for xirian

Hello to everyone.Sorry if the question has been already made, but is like i need to waste 1 day to find what i'm lookin for so if someone could tell me please how to pass data from ajax to a php page in resonable way(meaning that i don't need to …

Member Avatar for xirian
0
104
Member Avatar for kjelle392

Hello all. I'm sorry if this question has been answered before, but I'm a real noob trying to understand Ajax and JavaScript. Therefore I need a (simple) explanation how to pass multiple selections from a list to my Ajax-script - if there are any simple solutions. I'm not using any …

Member Avatar for kjelle392
0
129
Member Avatar for filch

I had a working ticket purchase page and I have done something to break it but cannot find what I did to do so. I have the following javascript functions: [CODE]<script type="text/javascript"> function newqty( what ) { price = document.getElementById( what + "_cost" ).innerHTML.replace( "$", "" ); var qty = …

Member Avatar for fxm
0
131
Member Avatar for jazz_vill

Hi I have this table inside a form and in this form Im also fetching data from a csv file to display product informations in a table. I want a javascript code that when a user inserts a quantity value of the product he wants to buy the total column …

Member Avatar for parry_kulk
0
119
Member Avatar for vishal18
Member Avatar for KPooja
0
53
Member Avatar for jino

Dear all, I have a date time picker and i have to trigger an event when the text box for that date is filled with the date. if textbox id print_date something like ...... $("#print_date").'......'(function(){ alert("Date is entered using date picker"); });

Member Avatar for fxm
0
73
Member Avatar for QWaz

Hi, I am very very new to JavaScript, and really am just starting to learn how it works. I found some useful code that I have used on another site, however now I want to use it twice on the same page, but for a different image gallery. it obviously …

0
64
Member Avatar for urtrivedi

I have some doubt regarding jquery and ajax. What is the difference between jquery and ajax? Do jquery accesses server resource or its just do the things at client side? while solving a problem what to choose out of these two?

Member Avatar for urtrivedi
0
136
Member Avatar for Simes

So I have being asked to create something in JavaScript and was told what they want it to be like, since I am beginning JS amongst other web development languages. Anyway have a look at the image and let me know if it is possible to do with JS or …

Member Avatar for Simes
0
6K
Member Avatar for katieJane

Hi I am quite new to web developing and I am starting to struggling with this code. I am basically trying to enter a name along with a mark and store this in a javascript cookie. From this I want to create the mean and graph for up to 100 …

Member Avatar for fxm
0
138
Member Avatar for agr8lemon

I would like to show a Div based on the URL. I'm using PHP to update a database and the page just refreshes when it's done. I'd like to set the URL to something like [url]http://www.whatever.com/update.php?id=5&ud=y[/url] So if the URL had ud=y in it, it would show a div with …

Member Avatar for almostbob
0
85
Member Avatar for xo_vicke93_xo

No idea if this could be done by just javascript but don't know where else to post it... I have a contact forum where i want the visitor to select if they're a member of not, if they select no, nothing happens but if they select yes a new text …

Member Avatar for almostbob
0
139
Member Avatar for ramjeev

Friends, Can we add a panel into a editorgridpanel in ExtJS? I have a Ext.list.listview which i want to add it into a GridPanel. I can add textfield, combobox, but listview not workrd out. Can anyone help on this. --thanks, ramjeev

0
57
Member Avatar for kaylors

I'm a newbie at this so couldn't figure this one out. [CODE]<html> <head> <title>Test JavaScript</title> </head> <body> <script type="text/javascript"> var frst=true; function first() { if(frst==true) { window.alert('Don't forget to Capitalize.'); } frst=false; } </script> <form> <input type="button" value="Derke" onclick="first;" /> <select> <option>color</option> <option>smell</option> <option>rain</option> </select> <br /><br /><br /><br /><br …

Member Avatar for kaylors
0
85

The End.