15,699 Topics

Member Avatar for
Member Avatar for ausmaya

Hi, i need a code to change the image(for example i need to display 5 images) when the user click over the image. thanks

Member Avatar for grungy coder
-1
69
Member Avatar for Zurompeta

Hello all, I'm attempting to convert my current HTML table layout to a div layout. However, I'm running into snags here and there and I'm stuck on one that I need assistance with. [CODE]<div style="width:100%; display:none;" id="block_1_1"> <div style="width:50%; float:left; margin:0px; padding:25px; text-align:center;"> <div style="text-align:center; float:left; margin:0px;"> <img style="margin:4px;" src="picture.jpg" …

0
65
Member Avatar for tyrium

Hi, I have got a long list of items that are generated by PHP. There are 2000 more results and are constantly changing. What i am trying to do is all domains starting with A, B, C etc so it would hiden until you select A for example(sorta like a …

0
72
Member Avatar for network18

Hi, I am working on the jquery slideshow script, which i had borrowed from some famous jquery plugin and customized so nicely so as to look just as par my requirement .Its working perfectly fine in the Internet Explorer but failing to even call the event on click in firefox …

Member Avatar for pritaeas
0
142
Member Avatar for ErlendHL
Member Avatar for rajarajan2017
0
61
Member Avatar for ravi0703

Hi, I have query in Javascript and Ajax. Is it possible to write AJAX code inside Java Script. When i click the " confirm("test"); " Yes button. i have to insert the data through ajax. I have written the code for sample, i am attaching. Please can anybody give the …

Member Avatar for saiprem
0
85
Member Avatar for VBNick

Hello! I made a little app/page to help me count the money when Im done my shift at work. It runs fine in IExplorer, but it wont run in Firefox..can someone help? [CODE="html"] <html> <head> <title>Money Calculator 1.0</title> </head> <body> <script type="text/javascript"> function clr() { document.getElementById("hundred").value=0; document.getElementById("fifty").value=0; document.getElementById("twenty").value=0; document.getElementById("ten").value=0; document.getElementById("five").value=0; …

Member Avatar for VBNick
0
151
Member Avatar for nccsbim071

Hi I have a web page where i need to use some javascript. If i write all the javascripts and jQuery javascripts in the aspx page it works perfect. But when i write all the javascripts in separate file called scripts.js and include scripts.js in the aspx page it doesn't …

Member Avatar for mitulmodi.rcc
0
168
Member Avatar for jmaddy10

Hello all! I am making a site for a club on campus and we need to show the presidents quotes on the site. He has some lengthy ones so I want to save space (can't tell him to KISS) so I'm using a little code I learned to do so. …

0
103
Member Avatar for priti kumari

please, check and give new source code[code]function getsubmit() { var lastname; var Firstn=t1.value; var cn=new ActiveXobject("ADODB.Connection"); var StrConn="provider Microsoft.Jet.OLEDB.4.0"; Data Source=d;//student_base.mdb; var SQL="select t1 from manisha where FirstName="'"Firstn+"'"); On.open(SQL,cn); surname.value=rs(0); DOB.value=rs(1); alter(rs(0)); rs.close(); cn.close(); } </script> </head>[/code]

Member Avatar for priti kumari
0
54
Member Avatar for anuj_sharma

Hey Guys, I want to add options to a dropdownlist based on the selection of item in another dropdownlist. But i want the items to be retrieved from the database in the second dropdownlist and i want to do this using Ajax. Please suggest, if possible with some codes.

0
81
Member Avatar for servis

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 …

Member Avatar for Graphix
0
2K
Member Avatar for ronpickard

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?

Member Avatar for lar_56
0
49
Member Avatar for druveen

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...

0
60
Member Avatar for vishalonne

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 …

0
64
Member Avatar for Zurompeta

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 ";" …

0
61
Member Avatar for dle

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.

0
47
Member Avatar for dylank

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 …

Member Avatar for dylank
0
172
Member Avatar for dylank

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 …

Member Avatar for mwasif
0
4K
Member Avatar for servantofgod

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?

Member Avatar for MCDeveloper
0
117
Member Avatar for MDGM

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 …

Member Avatar for MDGM
0
193
Member Avatar for ErlendHL

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 …

0
58
Member Avatar for cmsc

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 …

Member Avatar for Traevel
0
81
Member Avatar for scru

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)

Member Avatar for abanksob1
0
260
Member Avatar for ErlendHL

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 = …

Member Avatar for ErlendHL
0
116
Member Avatar for dylank

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 …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for ulrik04

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'), …

Member Avatar for pcmaniac
0
107
Member Avatar for network18

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. …

Member Avatar for network18
0
148
Member Avatar for darktangent

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 …

Member Avatar for almostbob
0
392
Member Avatar for ushur

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 …

Member Avatar for samaru
0
98
Member Avatar for druveen

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

Member Avatar for samaru
0
51
Member Avatar for rajeesh_rsn

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

Member Avatar for Graphix
0
99
Member Avatar for zm15

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]

Member Avatar for kateross
0
147
Member Avatar for Pro2000

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.

Member Avatar for sumit1893
0
174
Member Avatar for darktangent

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 …

0
66
Member Avatar for K-Mos

Hi, I need to refresh one div in my HTML page and not the entire page, is this possible? Please help

Member Avatar for MCDeveloper
0
61
Member Avatar for sunaruna84

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 …

Member Avatar for sunaruna84
0
188
Member Avatar for ausmaya

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 …

Member Avatar for grungy coder
-1
155
Member Avatar for cloud09

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 …

Member Avatar for Will Gresham
0
150
Member Avatar for skorm909

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 …

Member Avatar for grungy coder
0
119
Member Avatar for canadatom

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 = …

0
65
Member Avatar for paptamas

Helo. I have a TD element, with a SPAN element inside. I use td-s onmouseover and onmouseout events for a small animation. My problem is, that, when I move the cursor over the SPAN element, the onmouseout event for TD element is fired. I want to prevent this. With other …

Member Avatar for Graphix
0
206
Member Avatar for peter_budo

I'm looking to find out a way to drag and drop table rows between two tables. I reused jQuery example for[URL="http://jqueryui.com/demos/sortable/#portlets"] portlets[/URL], but that did not work to full satisfaction. [attach]13597[/attach] In above screen shot I added border, but that is just for illustration of the issue. Problems: [LIST=1] [*]As …

Member Avatar for peter_budo
0
606
Member Avatar for ausmaya

Hi, This is the code for form validation to check whether the username has six characters.i'm getting error.In form element i have added action="registration.aspx" i think it is for validaiton in server.. wat is the purpose of it??? can anyone pls suggest free links for webdeveloping ebooks using javascript?. how …

Member Avatar for parry_kulk
0
182
Member Avatar for Philip435

Hey I have div that is editable and I need to know when the div is in focus and when its leaving focus. how do I do it?

Member Avatar for Graphix
0
56
Member Avatar for Lalit Chattar
Member Avatar for rayarman

Hi, I have the following HTML code: [code] <form> <label for="searchtxt">Find a Question...</label> <input type="text" name="searchtxt" id="searchtxt" maxlength="200" size="92" /> <input type="submit" id="searchsbmt" name="searchsbmt" value="Search" onclick="return getquestions(0,5);" /> </form> [/code] the function getquestions is sending some variables via ajax and returning to populate a div. when it finishes, it returns …

Member Avatar for Graphix
0
333
Member Avatar for saraahparveen
Member Avatar for madmonkey
0
53
Member Avatar for shiv0013

can we overwrite a javascript function in address bar? if so give me an example plz....

Member Avatar for almostbob
0
54
Member Avatar for fielding

Howdy, I'm trying to hide a few css elements until a form has been completed. We have a ecommerce site we need to hide the price and 'add to cart' until the user has submitted their e-mail in a text form. Any help would be appreciated!

0
58

The End.