Here is what I'm try to do.
I have allop reading records from a database with the data I'm create a list HTML where XXXXXX is the value from the database is a way that I can send that value to a JavaScript function inside teh loop before apply the results
<table border="0" cellpadding="0"...
Hi,
I have a page with a link to open a popup window created with JavaScript I will insert the code below it works OK in IE6 and FireFox but when I run it in IE7 the popup window always opens behind the parent window did anybody else have this problem.
Thanks with any help.
// This function...
Hi,
I search this forum but find no answer so here it goes.
I have a popup window that I want to close when the user clicks the X icon only. Is any way to detect if the user click the X icon the onUnload works but I have links in the page to do search pagination and when I click in one of the...
Hi,
Anybody knows if there is a way to send a message to the parent window if a popwindow is close using the X or is there anyway to disable the X in the right hand conner
Thanks
Hi,
This maybe a strange question but I need to do this. I want to round a number alwasy to the hights value.
Example:
If I have a number 5.7 I wnat to round to 6
If I have a number 5.3 I also wante to round it to be 6 not 5
Thanks
I expected an error from the code below but it does no go to the catch section any ideas
Thanks
SimpleDateFormat inputVal = new SimpleDateFormat("MM/dd/yyyy");
try
{
Date date = inputVal.parse("99/99/2006");
}
catch (ParseException e1)
{
System.out.println("Invalid date..");
}
Hi,
Maybe someone can help me with this email validation
alert( ((/\w+((-\w+)|(\.\w+)|(\_\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z]{2,4}/).test(email)));
I want the values after the dot to no less that 2 and no more that 4 so I use {2,4} if I enter test@test.c it returns false which...
Hi,
I have a <div tage in my jsp form like
<div id="srch_regular" style="display:block">
in Java script I do this to hide the table
document.getElementById("srch_regular").style.display = "none";
It works OK in IE but in Firefox does not work any ideas
Thanks
Hi,
I'm tryng to write a regular expresion that will check that a string has a lentgh of a least 8 and must contain one digit or special character but so far I've had no luck any suggestions or sample will be appreciated
Thanks
Hi,
I been looking at all the date samples in the forum but I can't find the a sample of how to format this date
Sat Dec 23 00:00:00 EST 2006
to this format
mm/dd/yyyy
Thanks
for any help
Hi,
Does anybody has a sample of how to check if a string has a least one number and a special character it can have more then one but a least one of each number and special character
Chico
Hi,
What is the best method fo splitting a string. I'm using the StringUtils.split(stering,delimeter separator) but it tells me that this funtion is deprecated.
Thanaks
Hi,
I have a problem with a nested try/catch error handler in the example below if there is an error
in validatefld it works OK it goes to the fieldvalidation catch and returns to where the test()
method was call but if the error occurs on step one method it goes to the exception catch and
sets...
Hi,
Does anyone has a sample of how to validate a value using regular expressions.
I want to know if a field value contains any of this 9 characters.
" # + ' / ; < > \
Thanks
Hi,
I'm trying to call a applet from a html page an get an error
Code:
public void refreshResults( String sourceSelect, String sourceValue, String destSelect, String cgiName ) throws Exception
{
String uri = cgiName + "?source=" + sourceSelect + "&dest=" + destSelect + "&value="...
Hi,
I try to do a window.open passing two variables the problem the I'm having is that if one of the variables contains a & character the open request does no work I try to do a escape in the url but still does not work any ideas
Thanks
Hi,
I have a page wit two forms like the one below when I try to write something to the inside form using java script I get document.test.xx is null or not an object is this illegal or I'm doing something wrong.
Thanks
<form name="form1" action="" method="post">
<form...
Hi,
I have a question the some one may be able to answer.
In the pass I worked with Microsoft products is a web developer and using ASP I use a product call Remote Scripting which allow you to get information from the server with out reloading the page. Is there any think like that the I can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.