Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: TurboSRT4
  • Content: Threads
  • Order by date
  1. TurboSRT4

    regex case sensitivity

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

    Simple help with expressions comparing 2 conditions

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

    using css to style text fields

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

    min-height in IE`

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

    Accessing parents variabl from iframe

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

    expected ; driving me nutz

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

    Help with array

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

    naming variabes

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

    Saving text file

    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!
  10. TurboSRT4

    perl and mysql

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

    comparing multiple string

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

    question regarding perl/javascript function

    hi guys, is there a javascript function equivalent of the chomp function in perl. As to remove any new line hidden characters from a string. Thanks
  13. TurboSRT4

    calling a function from another function :)

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

    help reading a list

    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"; }...
  15. TurboSRT4

    innerText Help

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

    passing a variable to a function

    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">...
  17. TurboSRT4

    help experimenting with a custom prompt

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

    onkeypress event with prompt()

    is it possible to use events such as onkeypress and onblur with a prompt box? thanks
  19. TurboSRT4

    help disallowing characters onkeypress

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

    Help removing html from variable

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

Part and Inventory Search

Back
Top