Sorry to keep bothering u guys but im new to using expressions i always did stuff the long and wrong way lol
I have this snippet
if ($first =~ /[\d\\\/~`@#\$\%^&*()-_\+\=\[\{\]\}\|\"\']/){
push @errors, qq(First Name Is Invalid<BR>);
}
it works ok if the string contains numbers or...
hi I have this
if ($first =~ /\d{1,}/{
die;
}
how could i compare 2 or 3 at the same time like if $first contains a numeral or if $first contains an @ or if $first contains a period.
thanks guys.
hello i have a css style applied to a text field
font-family:"comic Sans MS";
padding-left:5px;
padding-right:5px;
width:120px;
height:20px;
font-size:12px;
background-repeat:no-repeat;
border:none;
background-image: url(../../images/textField.png);
background-color...
Hello i have a problem but not a major issue, so far it its my only real hold up in making my site cross compatible.
css min-height just does nothing in IE is there a simple solution. I have googled the issue but nothing has worked. thanks you
hello guy hoping for some help her please.
I have a variable in the parent document.
var holdShow = 'true';
how can i access this variable from an iframe?
i tried parent.document.holdShow
and many other things but i just keep getting undefined.
thanks in advance for any help
Hello, i use this same function with no problems on other pages i have tried everything and im pretty good with perl and javascript but i keep getting an error expected ; if i remove 'test' from the function to just scOn() it works fine, the problem is when trying to pass a variable pleas help...
can someone please help im going crazy! lol
please see this http://www.iboost.biz/south/index.cgi
if you click a season the episode list apears on the right.
if you click an episode it adds the id to an array and you will notice the array appear on the left with each value in it.
if you click...
hello I have this
var test06 = 'blahblahblahblah;
function test(mode){
alert(mode);
}
....onclick=javascript:test(test06);
how would i make it alert the value of the already declared variable as oposed to what is and assigning the literal text 'test06' to the alert box. i need to make the...
Hi can you gyts help me out please in the simplest most straight forward approach to open http://test.com/test.html and saving the source as test.txt. Thanks in advance you guys are great!
hello guys i would appreciate some help i am ripping my hair out! I have always programmed for ten years very sloppily and ineficiantly storing all databases in text files. i have been reluctant to teach myself mysql but it is time. i have xxamp installed and i have downloaded the sql workbench...
hi im sorry for seemingly easy questions but im learning javascript and am already good at perl.
example i have a form name registerForm
how can i make sure no fields are blank and alert if one is blank returning its name
alert(value' is blank');
that is not really what im trying to do but...
Hi probably a new b question but whatever im new to javascript any way...
I have a function.....
function myFunction(){
var myVar = 'true';
}
how do i make it so if myVar == 'true' then to call myOtherFunction()
so like
myFunction(){
var myVar = 'true';
if(myVar == 'true'){
run...
can someone please give me a simple example of creating a javascript list then checkin it for a value? I am fairly good with perl and heres is a perl example of what i need in javascript.
@list = ("one", "two", "three", "four");
foreach(@list){
if ($_ eq "one"){
$exist = "$_ exists in list";
}...
hello, i just did a ton of work using innerText to find out that firefox does not support it and returns undefined. Is there a way to detect browser type and if it is firefox then use innerHtml? I would appreciate help using innerHtml and simply removing all tags from the value. Thank you
Hello! quick question..... I need to kow how to pass a variable to a function such as......
function test(){
var my_var=;
alert(my_var)
}
<a href=javascript:test();>TEST</a>
can i define the value of my_var in the link somehow?
maybe like this <a href=javascript:test()?my_var="test var">...
hello i have a custom prompt box you can see here http://www.iboost.biz/iboost/html/prompt.html the problem you will see is that the value entered in the prompt appears then disappears can you please help here is my code.
<head>
<style type="text/css">
<!--
#customPrompt {
position:absolute...
hi can someone help me please im good with perl but trying to learn javascript..... they compliment each other very well i have noticed.
i need to call a function onkeypress to not allow the foolowing characters to be entered into form field..
* ( ) # @ x q l p 3 0 + =
can someone help me...
hello all! I am looking for help... I need to remove html code from variables. For example I have this.
document.change.n_first.value=document.getElementById('fname').innerHTML;
ass of right now
document.getElementById('fname').innerHTML;
is "<a href=link>please help me</a>
how can i remove...
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.