15,121 Topics
| |
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 … | |
Write a Java program that uses an algorithm implementing the Gauss-Jordan method to solve the system of linear equations given in the introduction. Your output must show the output of every calculation to no more than seven (7) decimal places. You must create and use a function that cuts off … | |
Hi Everyone, I am doing some development using php and sql I need a pop up javascript calender for a form which has start date and end date. So if someone selects a start date from the 1st pop up calnder 2nd calender shuold start from that date. Can any … | |
hi i have created one simple page using ajax ,my index page contains menus page1 page2 page3 page4 if i click the page2 menu means my page2.html is opening in the same window index.html itself ,but in my page three i have a link if i click that link it … | |
[icode]window.getSelection()[/icode] ...now this works with the frame that it's in.. i have a top frame and bottom frame.. i want to write the function in the bottom frame and the javascript runs on the top frame.. i tried this but it isn't working [icode]parent.topframe.location.getSelection[/icode] | |
hello i want to secure my data ,i have link to pdf file when click it give all path to pdf like this [B][url]http://192.167.1.13/data/0000/000/000/0000-000-000-000.pdf[/url][/B] i want to change it to be like this [B][url]http://192.167.1.13/xxxxxx[/url][/B] or any other i want to change it start from /data any help | |
I am 100% new to JavaScript, but I don't want that to be the case for much longer at all. However, what's the best way to go about learning? What books should I purchase, or where is the most [i]accurate[/i], extensive, free online tutorial? Your suggestions are appreciated! :) |
The End.