15,121 Topics

Member Avatar for
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
145
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
366
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
96
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
49
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
95
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
145
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
170
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
64
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
59
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
185
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
152
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
147
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
117
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
61
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
200
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
601
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
180
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
54
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
308
Member Avatar for saraahparveen
Member Avatar for madmonkey
0
51
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
52
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
56
Member Avatar for fielding

How do i go about making these multiple scripts work on a single page? [CODE] $(document).ready(function() { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $(".display_text_here").text(str); }) .change();[/CODE] This one i would like an IE conditional [CODE]$(document).ready(function() { $(".select") .mouseover(function(){ $(this) .data("origWidth", $(this).css("width")) …

Member Avatar for fielding
0
89
Member Avatar for barryw33

Hi, I am trying to sign off a website but have one final obstacle to overcome and then all good. the problem I have is I have private chat on a dating website. the site is in russian and english. the php page for the chat needs headers so that …

Member Avatar for barryw33
0
142
Member Avatar for jaydee123

I have a very simple flash program that plays music. It consists of a play pause button and a timer that shows the current position of the song. I'm trying to make it possible to pause or play the song using a regular form button. [CODE]<div class="musicplayer_playpause"> <script type="text/javascript"> AC_FL_RunContent( …

Member Avatar for ShawnCplus
0
102
Member Avatar for canadatom

Hi Guys, I am new to Ajax, I am trying to output results by using perl script calling from Ajax, [code] function launcher(){ new Ajax.Request(getLauncherPath, { method:'post', parameters: { tag: "yadayada", uid: "12345", pwd: "blah", action : "blah" }, onInteractive: function(transport){ var response = transport.responseText; $('launcher').update(response); }, onFailure: function(){ alert('Something …

0
40
Member Avatar for preetg

hi............ m using javascript and css for creating horizontal menu for my project.... but i m facing prob regarding their direction..... i want sub menu should open in right direction but not below the main menu items. ........ help me out. [CODE=javascript] var cssmenuids=["cssmenu1"] //Enter id(s) of CSS Horizontal UL …

0
77

The End.