Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~930 People Reached
Favorite Tags
Member Avatar for andyhunter

how do you manually add it when the link is www.somesite.com which i would want it to be added to index.html ? function setActive() { /*current page function*/ $('#menu a').each(function(index) { if(this.href.trim() == window.location) $(this).addClass("current"); }); this works for any pages that are in the navigation menu.

Member Avatar for stbuchok
0
91
Member Avatar for andyhunter

I got the js to load but i can not figuer out how to verify without mail being passed through instead of caught out using googles example and watching you tube videos. I am updating exisiting mail form that has validation on it. I tried the php plugins but they …

Member Avatar for GliderPilot
0
101
Member Avatar for andyhunter

How do you have spaces in xml, it seems to stick spaces at the start and end but if you type and have spaces for words and or sentences it picks it up. [CODE] <record> <title xml:space="default"> My Terrible Friend </title> <author>The Pains of Being Pure At Heart</author> <mp3>sounds/ThePainsOfBeingPureAtHeart-MyTerribleFriend.mp3</mp3> </record> …

Member Avatar for tgreer
0
111
Member Avatar for andyhunter

if items are added into an arraylist would another arraylist be required for grouping items or would a hashmap or something else be required i.e. title, firstname, last name etc saved indvidually but therefore grouped to equal person 1 and so on ? the reason for grouping is to edit …

Member Avatar for thekashyap
0
134
Member Avatar for andyhunter

trying to create a matcher for finding if title is not correct i.e. has to be mr, mrs, miss etc..but this allows mrmrmr etc when it should not. tried different setups to keep failing i.e. [[]] or (). [ICODE] public void valTitle(){ //validate title while (this.title.matches("^[\\s]+$") ||this.title.matches("") ||this.title.matches("[^m]&&[^r]*") ){ System.out.println("Title …

Member Avatar for andyhunter
0
81
Member Avatar for andyhunter

<form name="contact_form" method="post" action="./contact/mailer.php" onSubmit="return evalid()"> <table border="0"><tr> <td>First Name *</td> <td colspan="2"><input name="fname" type="text" size="30" /></td> </tr><tr> <td>Last Name *</td> <td colspan="2"><input name="lname" type="text" size="30" /></td> </tr><tr> <td>Your E-mail *</td> <td colspan="2"><input type="text" name="mail" size="30" /></td> </tr><tr> <td>Phone</td> <td colspan="2"><input name="phone" type="text" size="30" onkeypress="return numere(event)" onkeyup="return limitarelungime(this, 12)" /></td> …

Member Avatar for smantscheff
0
107
Member Avatar for andyhunter

Stuck on trying to limit a persons name to say 20 characters in a string or a phone number to 6 characters in a string, i cant get the {} inside or after regex to work with either a minimium or maximium number so that in my loop if a …

Member Avatar for aspire1
0
89
Member Avatar for andyhunter

the code does not validate spaces and results into moving onto the next line of code to which it should keep in a continious loop until valid data is entered. I have a problem with matching for whitespaces using \s as it doesnt work. many thanks do{ /*if salesPersonName is …

Member Avatar for hanvyj
0
103
Member Avatar for andyhunter

part of bigger code but i cant understand why its not working in the correct range [code] Scanner input3 = new Scanner (System.in); System.out.println("Enter House Number;"); houseNumber = input3.nextInt(); do { System.out.println("You must enter a house number between 1 and 1000"); System.out.println("Enter House Number;"); houseNumber = input3.nextInt(); }while ((houseNumber <1) …

Member Avatar for sincerelibran
-1
113