15,698 Topics
![]() | |
i have a simple form validation onsubmit event. The requirement is very simple, if validate.php brings any error it shows errors and it stops form for further processing else form submit and action runs process.php. But, unfortunately ajax function is not working onsubmit event.. any help please..... files are attached … | |
I’m finding it very difficult to elaborately describe the page flows in a lengthy XML format which is very complex , does any software provide XML transformation to mould results suitable for user s to view? | |
hi i am getting field names in $productname through post method that i have to insert into while loop.... while($res=mysql_fetch_array($result)) { $resproductname=$res $productname;']; } is there any way to do that ...plz help...thanks in advance... | |
Hi Really this forum is great I got lots of help from here. So, I cam back with lots of expectation. I am using IE6 and FF3.6 Please see my code its plain HTML with Java Script. This code is generating row in table at Run time. But once I … | |
Hello all, I have a weird issue here. This chunk of code used to work, but no matter what I try, I just can't get it to work again. Basically, the AJAX response receives a string, the following is an example: [CODE]"1,5,5,1;2,5,5,1;3,5,5,1"[/CODE] So then I split the string by ";" … | |
Hello, I'd like to ask if anyone can help me create an ajax content listing effect like truelocal.com.au, their 3-level content box rocks. Looking forward to hearing from you soon. Thanks. | |
Hello DaniWeb! I am having a particular problem with my Javascript page, which should change the form that the user is at. Can anyone proofread my code to check for errors? The code does not change the form (Also it does not run the PHP page, or at least does … | |
Hello DaniWeb Community! I am trying to create a web page that utilizes Ajax and PHP to connect to my mySql database and look up a username and password. You have all most likely seen the web page that has the template code on it: [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] This code is nice … | |
Anyone know of any javascript ad rotators that produce the ad rotator you see in buy.com, with the 1 2 3 4 5 play pause buttons? | |
Hi all I need a javascript code that removes all the title="*" attributes in a page, where the star (*) represents a wildcard for the content of the title attribute. So the following would occur: <a href="#" title="test">test</a> would be replaced with <a href="#">test</a> just like: <a href="#" title="">test</a> would … | |
Hi! I am testing AJAX, and I have just made a nice AJAX function. But I also want to use AJAX through Flash, so that I can get updated info from a .txt file on my server to the Flash movie. [URL="http://erlendhl.ueuo.com/sl/p/"]Here[/URL] is the AJAX test page. So I can … | |
i'm trying to redirect using javascript. I wonder, can I use my own file when redirecting? like for example, I made a sign-up form which validates the input, then if the form is already valid [which means every field is filled up] it will redirect to a page I will … | |
Hey. I'm looking for a solution that will create, fill and display a container in javascript directly beneath a specific element (no whitespace, margins w.e) | |
I have read about AJAX for a while now, and tryed to use GET and POST, but with not so good results. Code in index.html: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Sending data to the maaan and back!</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> //var val = … | |
Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set … | |
hi I'm making a full AJAX site with prototype, and I want that every time a hyperlink is activated, the event is canceled and a AJAX script loads the page instead. This is the code I'm using: [code=javascript]Event.observe(window, 'load', function(){ Event.observe($$('a'), 'click', function(e){ Event.stop(e); window.location.hash = $(Event.element(e)).readAttribute('href'); new Ajax.Updater('main', $(Event.element(e)).readAttribute('href'), … | |
Hi, I am customizing jquery scrollshow, it can be found originally [URL="http://flesler.blogspot.com/search/label/jQuery.ScrollShow"]here[/URL] As you can see in the original script there are only images which scroll, now I have the description to show below each image which should also scroll as the images scroll. This description will include - 1. … | |
I am implementing a popup with javascript which fire when the page is closed . I am using the unload() page handler. The problem is that the popup does not stays ... it popups for a while but then the new page loads. I want it to stay there until … | |
Lemme just start by saying i know nothing about js or pretty much anything else. I've been playing this online browser based game and it's cool and all but it has this tiny chat window. Is it possible to make the thing bigger? Before i start to learn how to … | |
Hi, I am reciving the (ajax) response res and diplaying in <div id=homepage> , i want to know is there any way to call a js function after i have recived/displayed the reponse inside <div id=homepage> . or Run JavaScript after AJAX load | |
Hai, I need to refresh a page "ONLY ONCE" if a visitor visit. I want to do this because if a visitor hit back button in their browser then i need to display fresh content not from the browser cache.. Please help Thanks Rajeesh | |
I can't seem to figure out where my code is going wrong for my page. It appears fine in firefox, but IE things get messed up when you scroll down the page and mouse over the last few pictures. Here is my page: [url]http://www.landmarkmg.com/rental_communities/index.html[/url] | |
Peace, Can you help me with Show And Hide?: I made an Input text I want to hide it, And I want to show it if I click on a button. How can I do it? Thanks. | |
I do not know that is this the perfect forum for the question or not, but as i am implementing it in the JavaScript, i have posted it here. I am implementing a pop up box when a user leaves a webpage, now what i want to do is to … | |
Hi, I need to refresh one div in my HTML page and not the entire page, is this possible? Please help | |
Hi friends I have used this script for avoid right click in my webpage. I want to disable " savepage as" in file menu. any javascript have for handle this problem. please let me know ur suggestion. [CODE] <script language="JavaScript"> document.onmousedown=click; function click() { if ((event.button==2)) { alert("Sorry you didnt … | |
Hi, 1.I want to change the image when the user click's over the image i'm getting error.. "error:javascript:gonext();" like this is status bar can any one solve me pls>> suggest some code to change the image when user clicks [code=html]<!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> <title>image … | |
Say I have a variable number of form fields that can: a) contain only numbers - if the user tries to enter anything but a number the text is deleted b) no two fields can contain the same numbers c) no field can be left empty before the form is … | |
ok so im starting out in html and know the pure basics of javascript... (know a little bit of c++ but that wont help me here i think) well anyway i need to make a website and from what im understanding is that javascript basically does animations (i think) on … | |
Here is my javascript code: [CODE]var xmlhttp; var result; function load() { xmlhttp=null; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=state_Change; xmlhttp.open("GET",getLauncherPath,true); xmlhttp.send(null); } function state_Change() { if (xmlhttp.readyState==3){ if (xmlhttp.status==200){ result = "readyState = … |
The End.