15,120 Topics

Member Avatar for
Member Avatar for _John_

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 …

Member Avatar for Airshow
0
219
Member Avatar for DARK_BYTE

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 …

Member Avatar for DARK_BYTE
0
171
Member Avatar for hajjo

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

Member Avatar for Luckychap
0
89
Member Avatar for The Photographe

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

0
74
Member Avatar for ttope

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]

Member Avatar for Airshow
0
82
Member Avatar for santhanalakshmi

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 …

0
69
Member Avatar for vishalanuj

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

Member Avatar for vishalanuj
0
135
Member Avatar for skurenak

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 …

Member Avatar for skurenak
0
100
Member Avatar for hajjo

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 …

Member Avatar for Thirusha
0
60
Member Avatar for pradhan.s

how to run java script using a notepad should we use .js extension..?

Member Avatar for Thirusha
0
37
Member Avatar for leesyy

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

0
61
Member Avatar for Stefano Mtangoo

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?

0
80
Member Avatar for leegeorg07

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 …

Member Avatar for HenryGR
0
102
Member Avatar for Graphix

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 …

Member Avatar for Airshow
0
281
Member Avatar for samlabs821

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

Member Avatar for Thirusha
0
120
Member Avatar for rawroro

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

0
50
Member Avatar for jaimca

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

Member Avatar for samlabs821
0
74
Member Avatar for Jayakrishnan_gk

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;

Member Avatar for Jayakrishnan_gk
0
151
Member Avatar for Chad Gary

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

0
49
Member Avatar for CssQueen

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 …

Member Avatar for CssQueen
0
107
Member Avatar for drboring

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 …

Member Avatar for jomanlk
-1
77
Member Avatar for benrich

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 …

Member Avatar for benrich
0
151
Member Avatar for filch

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 …

0
158
Member Avatar for asong

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 …

Member Avatar for Graphix
-1
79
Member Avatar for tarunkhatri

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 …

Member Avatar for chandru7
0
70
Member Avatar for vidhyaponnusamy

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 …

Member Avatar for vidhyaponnusamy
0
100
Member Avatar for MDanz

[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]

Member Avatar for Airshow
0
45
Member Avatar for altarek

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

Member Avatar for almostbob
0
82
Member Avatar for Skzz

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! :)

Member Avatar for rawroro
0
123
Member Avatar for neomatrix2

iam trying to call javascript on createuserwizard validation with following script [CODE] function ShowModalDialog() { Page_ClientValidate(); if(!Page_IsValid) $find('<%=AddUserValidationSummary_ModalPopupExtender.ClientID%>').show(); } [/CODE] and my trying to call it for on pageload on create user button click event [CODE] btn.Attributes.Add("onclick", "ShowModalDialog();"); [/CODE] now it works but it fires blank for databse validation like …

0
51

The End.