15,127 Topics
| |
Hey everyone, The problem I'm having is regarding trying to persist a users search selection. For example a user searches (for holidays) on the homepage. I would like the search box which is displayed on every page to hold the values of the previous search which are persisted in a … | |
Hi, I want create a page which has animation at the bottom of that page. I use jQuery to do that.. this is the way I do it [code=html] <a href="#" class="animation">Animate this</a> [/code] and this is the jquery [code=javascript] $(document).ready(function() { $('a.animation').click(function(e) { e.preventDefault(); //animation goes here; }); }); … | |
Hi there, I am wanting to find out how to add text to a hidden field in a HTML form. I want to add text from an array, the array holds the information for the caption placeholder for the images. Basically i have an image viewer which lets you scroll … | |
Hello! I am trying to make an image gallery navigation work in IE (works in FF2+, safari, not working in opera 9, probably other browsers) but my severely limited Javascript knowledge is really holding me back! I am using JonDesign's SmoothGallery (camelback heaven, there), but the problem almost certainly lies … | |
how do i close a specific window. (not the active one) with javascript. the reason im asking is because i have a form submitting to another page AKA TARGET_BLANK. but i have it target blank because that page checks if the stuff from the form can be inserted into the … | |
Use this to encrypt your passwords, for login fields and password protection. | |
Hi guys, I spent the whole day (thats 8 hours straight) trying to get a simple jQuery function to work but failed miserably!!! I very very new to the jQ scene and I know I have a lot of catching up to do! Could somebody get this to work for … | |
Dear Experts, Apparently using the html mailto: action is prone to not working if the users client side email is not properly configured (like hotmail or other web based email apps). Is it possible to catch this error in the html code (via javascript, PHP, or HTML) and take other … | |
Hi can someone please explain to me what is the difference between writing onclick="confirmLink()" and onclick="return confirmLink()" I tried both and they did the same thing and I am confused since the lazy fellows from my university have given me old notes in which they randomly include the "return" sometimes … | |
I have a table, and insde the table dynamic inputtextboxes how can i set the id of textbox "row" + row number id of first textboxt row0, second one row1 and so on.. | |
I am having some problems with (a)coloring my stick figer(b)to stabelise the line on which the stick fig is supposed to be running across the Applet on. Can some one please advise me on how to achive this? Thanking you in advance. [CODE] //Walking //Written By: //Written on: import java.applet.*; … | |
I am having trouble getting the two dropdowns under Facility and Contact Us to drop down... see link below... the first drop down works fine (under Services) Please help! Thanks in advance. [url]http://www.gumshoestudio.com/Wickertree_menu_test/[/url] | |
Hi, This is my perl program.......... [CODE]#!c:/perl/bin/perl use CGI qw(:all); $pfaccode=param('faccode'); $pprogramme=param('programme'); $pdeptcode=param('deptcode'); $pbrancode=param('brancode'); $psemester=param('semester'); $pkook = cookie(-name=>'logtime'); print "Content-type: text/html\n\n"; print "<body bgcolor=\"#ffcccc\">"; use DBI; my $dbh = DBI->connect("DBI:ODBC:wwwdsn","webid","dibew") or die "Cant connect: $DBI::errstr\n"; my $sth = $dbh->prepare("select kid from facltmst where faccode = ?") or die "Can not … | |
[CODE]<%@ page language="java" pageEncoding="ISO-8859-1"%> <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@taglib uri="/WEB-INF/struts-html-el.tld" prefix="html_el" %> <%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Listing all cities</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <center><h3>city List</h3></center> </body> <html:form action="/UpdateSuccessAction.do" > <c:forEach … | |
I am an absolute beginner with javascript and have no idea how to solve this one. got a function fu() which should display the NAME of the image upon onmouseover,but when I try it,all the images show the same name,although they have different names in the code. I thought the … | |
imagine i have inputtext i have list of values ..which are merchandise, auotmobile, car if user types c in textbox i want car to show up ..how can i do that? like when u type hotmail message..and u write k..and emails starting with k in ur list comes up.. sthg … | |
| |
hi, can anyone provide an example codes on the wrtkit selectionMenu and SelectionList. i need it to display a drop-down list for selection in a view specified in the same .js file thanks a lot...it's really urgent!!! | |
There are few Books on Java, C++, PHP and Python, but haven't seen one in AJAX/JavaScript. Is there any legal downloadable JavaScript/Ajax book? | |
| Hi, using a snippet I found on here I have this code: [code] var password; var pass1="PASSWORD-HERE"; password=prompt('Whats The Magic Word?',' '); if (password==pass1) alert('That Is Correct!'); else { window.location="SITE-LINK"; } [/code] But I want to make pass1 harder to see so I want to encrypt it and use that … |
I am currently having a problem with my BB-code editor, like most things it works great in FF, but i have an issue with IE: whenever i select a word that has already been previously typed, it selects that word instead of the one i selected. Here is the selection … | |
Hi there .. I have error on my firebug it says:document.getElementById("category") is null Could someone help me?? and i wanted to set the default drop down option [code=html]<html> <head> <script type="text/javascript"> var i = 0; var someValue = '4'; var mySelect = document.getElementById('category'); while(i < mySelect.options.length) { if(mySelect.options[i].value == someValue) … | |
Hello , I have a question concerning evnthandlers . I am programming a chat system and have an event handler in my code that checks for user presence ( using [URL="http://www.xmpp.org"]xmpp[/URL]) . this is done when a connection sends a "presence packet " which is one like this , [CODE] … | |
Hi i need to pass values from one html page to another without using forms. Is this possible . Can i access these values using javascript.. Please help me with a code sample .. thanks in advance | |
I have a search box. I need to remove all the special characters from the search term and then query it. “’-,?~!@#$%&*+-= all these characters.... can anybody suggest a proper regular expression for this ? and the syntax for using it in javascript. my query is saved in var query; | |
Trying to turn all <p> elements to red. I'm using the following js code with prototype and I'm getting an error that says each is not defined in my firefox window. [CODE]var paragraphs = $$('p'); each(paragraphs, function(element) { element.style.color = "red"; });[/CODE] Html Code: [code=html]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" … | |
Hello, I am trying to populate data from an xml file when a certain catergory from the dropdown menu is selected. The dropdown menu is also populated from a xml source different from the one where the data is stored that needs to be pulled. so when a category is … | |
I am new to JavaScript. Therefore, I don't understand how the following javascript code work: [CODE] var specialChars="/\\(\\)><@,;:\\\\\\\"\\.\\[\\]\*\+\?\!\#\$\%\^\&\=\~\`\|\/'"; var validChars="\[^\\s" + specialChars + "\]"; var atom=validChars + '+'; var atomPat=new RegExp("^" + atom + "$"); var str = "Hello World!"; if (str.search(atomPat)==-1) { alert ("Special Characters Found!"); } [/CODE] When … | |
Hey all Can anyone see why this isn't working for IE but is Firefox? I'm trying to update a div on the page using some javascript and php. Whenever a dropdown box on the html page is changed, its value is passed to a javascript function, then onto a php … | |
Hi, I am in a real need to get this going quickly and have run into a bit of a stumbling block. Here is what I am trying to do. I am creating a Paypal Add to Cart page for several products. I have this working for a single button … |
The End.