20,316 Topics
This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by …
Hi, In my page I have a checkBoxList and I need to select all items that has an specific word. Let's suppose my CBL is: VB.NET C#.NET Java2SE Java2EE And suppose that I need to select only the items about .NET (the items that cointain the string ".NET"). How can …
Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" …
This purpose of this thread is for anyone who wants to learn JQUERY. [url]http://jquery.com/[/url] here are the demo's that you can easily apply on your website. [url]http://jqueryui.com/demos/[/url] do you have any ideas about jquery? thanks
Hello all, I am trying to update the .onclick event after its been clicked once. Everything works fine in my script except updating the .onclick event. I have searched the web and found that I should do the following: div.onclick = function(params); or div.onclick = new function(){updatedStatement}; I have tested …
Hi Guys, any one can reply me on if we can do some thing like in flash or java or dll or not sure for example [url]http://www.screentoaster.com/[/url] click on ?start recording?. [url]http://screenr.com/[/url] click on ?Record your screen cast now? [url]http://www.screencast-o-matic.com/[/url] click on ?Create? button. , basically i want transparent frame …
Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the …
How do i add my ajax-loader.gif to my js. and what kind does the script look like.... Thank you to everyone.... My js. below [CODE]var Spry; if (!Spry) Spry = {}; if (!Spry.Widget) Spry.Widget = {}; Spry.Widget.TabbedPanels = function(element, opts) { this.element = this.getElement(element); this.defaultTab = 0; // Show the …
Hi there, nice to be part of the forum, and sorry for my English, I will try my best but is not my mother tongue. With bigger monitors available on the market the gap between 1024x768px and 1920x1200px is now really huge so I need to manage a photography website …
Hallo there I'm from Italy and I love photography / Asia / internet / Quite good at xhtml and css.... try to learn javascript and soon PHP. Sorry for my english but is not my mother tongue as you can imagine. I have just done my first post so quite …
Hi all, I made a script that can be used as a captcha. It shows a random amount of (roman) letters sliding by every 2000 miliseconds (thats why its called [B]Matrix[/B]Captcha. But I am not sure wether it is able to stop bots from spamming. Does anyone have a suggestion …
Hi guys, I'm wondering if you guys can help me to perform on-demand javascript using AJAX? If you can help me with a simple example, I would really appreciated. my question is: how to get a javascript code from my server and execute it? Thanks for the help
I have this var x = window.event.clientX; var y = window.event.clientY; i get the x and y coordinates on button click i do this x = x+10; y = y +10; how can I now on this position X AND Y, pop up an imageon that position??
well i m using the new Ajax.InPlaceEditor here when i click on perticular id's elements's text then it converts to textbox for eg, the following code is in my page <span id='abc' > Some Text </span> when i click on this span then `some text ` will be in text …
Hello Guys, Can someone please show me if this is possible or not, if so where can i get further information or a code example will be nice. When i enter first name, and then click from the drop down selection "product spec 3" from options "product spec 2" , …
I want javascript to download a file automatically in every 3 mins and save it to my server. Is it possible. What will be the javascript code? thanks Lavi
Ciao, this function should show only selected items, in firefox always works, but with IE works only the first time, then are visualized all the elements visualized previusly [CODE] function showMapLegend(id){ alert(id); var elem=document.getElementById(id); var tohide=document.getElementsByName('legend'); for(var i=0;i<tohide.length;i++){ tohide[i].style.display='none'; } elem.style.display = ''; [/CODE]
hello.... is javascript works in mailbody? i mean admin sends registration form through email to new users. for that registration form validation javascript is not working. any suggestions
I'm trying to create a type of moodboard where you can drag drop and resize pictures on. but i want to create a carousel that shows the available pictures that you can drag and drop onto or into the mood board div. i have either the problem that i cant …
in my login form ,i have two textbox one for username and the second one for password . both are watermark. the username watermark textbox is having textmode = text the password textbox is having intially textmode=text but onfocus i want to change it to passwordmode i dont want to …
All, I am currently trying to implement Global Exception handling in a website and ASP.Net is throwing a File Not Found exception all the time. I did some search in this regard and the issue is still not solved. I kindly request some one to guide me in solving this …
Hello all, I am not sure if I should post this in this forum or the PHP forum. Basically, I am designing a web application for a school project. On the delete action, I want to prompt the user to make sure they mean delete. I was wanting to use …
Hello everyone, I hate to be a bother, but I'm having some difficulty figuring this out. Through an AJAX implementation, I am receiving a SQL Query result that has: [LIST=1] [*]An object's attribute delimited by a comma [*]An entire object (database row) delimited by a colon [/LIST] This is an …
In one of the downloaded free webtemplates I have this calendar. The problem is that it is static, outdated calendar. How can I modify this code to make it [COLOR="Green"]live[/COLOR], [COLOR="green"]current[/COLOR], and [COLOR="green"]user changeable[/COLOR] to different months and years? Thank you! [CODE]<h2>Calendar</h2> <div id="calendar_wrap"> <table summary="Calendar"> <caption> October 2009 </caption> …
I have absolutely no idea how to create cookies for a shopping cart, and I was wondering if anyone could help me create cookies for my shopping cart. I need cookies for:[B] first and last name, address, city, state, postal code, credit card name, and credit card number[/B]. I just …
Is there a way to send a large amount of data through AJAX to a PHP script? Almost all tutorials say to modify the URL to equal whatever variable your trying to look up. I am wondering if it is possible to pass infomation to the server through an XML …
I have written a javascript function that calls a web service to save data. When the web service is called an alert pops up saying [I]the server method saveUpdateCodes failed[/I], and it gives no other information. The thing is the web service executes and throws no errors (I've stepped though …
I'm a newbie trying to modify the code in an AJAX tutorial to load data from an XML file, and it is not working. The code is in a php file that is invoked with the URL: [icode]getXMLTest.php?showName=photoShowTest.xml[/icode] The code I've written (mostly copied from the tutorial, actually) is: [code] …
Hi I am having a problem with getting my output to display a dollar sign. I have the program running the way it is supposed to, it just won't format for currency. I have tried a couple of different methods and do not understand why the current code does not …
Hello Everyone, I am new to Javascript and would appreciate any help here. My client has a requirement of a search function which is specific. That is, if a user puts in the word "lexus printer" in the search field the result for that would be "toner123" and it should …
This script can be used for star ratings on for example forum or music sites. The scriptinformation is included within the script. ~G
Hi everyone, As the title of my topic says, I created a javascript loop that had some PHP code inside of it, hoping that every time the javascript function ran, it would re-call the PHP code inside of it. Turns out my hopes failed - the PHP code is only …
i have all the fields working. now i just need the user information as well as my created images into my sidebar div id="badge" and div id="results" every time i hit submit it clears the form rather than posting it. what am i missing? [CODE]// JavaScript Document function setupForm() { …
Hi there, I have some simple code that goes off and loads a bunch of tiled images into a web page. What I am trying to do is replace one of the tiles with a blank image in the event the image does not exist on the server. I am …
I have a website that I want to rotate URLs. I want it to rotate a different URL on refresh. I have changed the code around, and cannot set the timer to only refresh or get a different page to load. Can someone assist me with this?[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …
I have a tree am working it dynamically on server side. i want on click an image like loading to appear. anyone knows how to workout this with div and span??? any little example?
I would like to run the javascript code in between the script tag on a button press, but the code runs as the page load. Please point out what I am doing incorrectly. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="html/html; charset=UTF-8" /> …
$DoCNO=$_POST["DoCNO"]; $NumAt=$_POST["NumAt"]; how to retain my `$_POST` value when it submitted my myform it seem when submit it will reset the value inside the `$DoCNO` and `$NumAt` value java script: function testResults (form) { var TestVar = form.inputbox.value; location.href="PrintMe.php?Result=" + TestVar; return false; } my PHP code: <table width="1060" border="0"> …
hi i want to display my webpage as F11 mode(fullscreen)...when i click on some message.. i dont want to display statusbar,addressbar....i want to set the same functionality like F11 mode... Thanks in advance..
Hi and thanks for looking. The problem i'm having is simply getting an image to swap on a mouseover. Well I sort of had it working but then I cahnged the function to try and accomodate for more images and it just fell over dead. Let me show you the …
Hi everybody. Thus far. I have successfully created a drop down menu. What I want is for someone to choose a selection from the drop down list in admin_page.php and click the Status button to view the status of the option chosen. For now, I created a status button that …
Hello guys. I am faced with an serious issue in my current project. I have this form, when the user submits it I create an array via javascript which is then encoded in with JSONstring.make(). The data is sent to php via ajax, the problem is that sometimes, I havn't …
Hi all, I just want to ask you a simple question. I can't find the answer anywhere. How can I change the alert's title in javascript?
Hi. I'm trying to add event listeners to multiple elements of the same class. The DOM is something like this: [CODE] <body> .... ....... .......... <ul class="x"> <li class="a"> .... ... <span class="someclass"> [ <a href="http://someurl/x1>link text</a> ] </span> </li> <li class="b> .... ..... <span class="someclass> [ <a href="http://someurl/x1>link text</a> …
I'm trying to writer a timer to demonstrate how long it takes to load a web page and all its content. I want to repeat the load throughout the day to demonstrate slowdown at times of peak usage. I know there are tools like HTTP Watch and HTTP Analyzer that …
I just wrote a code for a hover animation for a button based of Dragon Interactive tutorial. The problem is that when I first load the page and hover over the button it doesn't animate. But consecutive hovers animate fine. The first hover works just like a CSS :hover. I …
Hello, I have made two textboxes and a button, you type into the second textbox and it's content gets displayed on the first texbox when you click the button, and also creates a new line so I can type as much as I want without it clearing. I want to …
I need help with my form page. I have almost everything working the way i want it to. now the question i have is what is the code needed in order to process the form? the requirements are -All user input must come from input fields in a single form …
Hi all, I have a map made of 4 img elements that I want to conditionally add mouse click listeners to. The map, and all this functionality is loaded up through an Ajax.Updater, which is called by a mouse click event. So you basically click a link which calls the …
hi all .. just want to ask if anyone have an idea how can i move image down throug keyboard cursors up an down .. i know that there is the keydown event and the keyup event but really i don't know how to write the code .. other qusetion …
The End.