15,121 Topics
| |
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 = … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
| |
can we overwrite a javascript function in address bar? if so give me an example plz.... | |
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! | |
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")) … | |
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 … | |
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( … | |
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 … | |
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 … |
The End.