andyl's Profile
Reputation: 191
Excellent
- Group:
- Members
- Active Posts:
- 1,391 (1.86 per day)
- Joined:
- 21-January 10
- Profile Views:
- 11,698
- Last Active:
Today, 07:24 PM- Currently:
- Viewing Board Index
My Information
- Member Title:
- Web Guru huh...
- Age:
- 20 years old
- Birthday:
- March 29, 1991
- Gender:
-
Male
- Location:
- Surrey / HANTS
- Interests:
- All things web. Muse.
Contact Information
- E-mail:
- Click here to e-mail me
- Website URL:
-
http://andylockett.com
- Skype:
-
andy9l
Users Experience
- Experience:
- Intermediate
- Area of Expertise:
- Web Developer
Latest Visitors
-
futuresys 
Today, 04:36 PM -
Sazin Tech Group 
27 Jan 2012 - 13:27 -
RJG Designing 
25 Jan 2012 - 21:22 -
empek 
23 Jan 2012 - 02:51 -
Luked 
23 Jan 2012 - 00:19 -
Renaissance-D... 
19 Jan 2012 - 19:04 -
David Cook 
08 Jan 2012 - 22:44 -
snick 
04 Jan 2012 - 13:00 -
Guest
26 Dec 2011 - 22:54 -
RobbieD90 
26 Dec 2011 - 16:23
Posts I've Made
-
In Topic: Spam City
Today, 07:22 PM
-
In Topic: Hackintosh
Today, 06:45 PM
notbanksy, on 09 February 2012 - 11:46 AM, said:With a lot of research, trial and error! One of the reasons I bought my laptop was because I knew it was regarded as one of the better matches for Mac OS X, so with that in mind, the following may not be much use to you. I found this website osxlatitude.com which provided all the tools I needed to get my machine to install and boot OSX. Once you know what to do, and the order in which to do it, it doesn't take long. But I confess to having wasted at least a whole day getting it right.
It does seem quite complicated, even with a step-by-step. I was just wondering because I read this article, claiming it's actually illegal if you use any of the publicly available boot loaders, etc., as they modify software - thus you're violating copyright. 5 years in prison, according to SOPA.
notbanksy, on 09 February 2012 - 11:46 AM, said:Are you planning to try it?
I'm a lost cause (yes, I know). I don't mess with hardware, I just buy things that work and make life easier! At the moment, Apple is bi-winning in that respect.
Yep, just managed to squeeze a Charlie Sheen quote into a Hackintosh discussion. -
In Topic: Thoughts on my site
Today, 04:28 PM
-
In Topic: Thoughts on my site
Today, 04:01 PM
I want BIG FAT slider buttons - aiming almost put me off even bothering! Think UX! -
In Topic: IE9 jQuery .val() and .attr("value") problem
Today, 03:54 PM
This might help you, just a quick example of a working version, just whipped it up in a few mins so will almost certainly be buggy. Trying out my new code editor
Runs as a full standalone script (on Apache, obviously):
<? //You shouldn't mix PHP with HTML, //but it's a super quick example! if (!empty($_POST)){ extract($_POST); //Return a JSON string for this example die ( json_encode( array( 'username' => $username, 'password' => $password, 'rand' => $rand ) ) ); } ?> <!DOCTYPE html> <html> <head> <title>AJAX Login</title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ //Received a login response //@param JSON json_resp //Implement handling of response here var login_response = function(json_resp){ //Decode the JSON response var response = $.parseJSON(json_resp); //You now have an accessible 'response' object //@see http://api.jquery.com/jQuery.parseJSON/ alert("Username: " + response.username + "\nPassword: " + response.password + "\nRand: " + response.rand); }; $("#ajax-login").submit(function(e){ //Stop the form submitting e.preventDefault(); //Keep code size down a bit by using this variable var fields = $(this).find("input"); //Stop blank submissions for (var i=0; i<fields.length; i++){ if (!$(fields[i]).val()){ alert("The " + $(fields[i]).attr("name") + " field cannot be left blank"); return; } } //Send the post request $.post( 'ajax-example.php', $(this).serialize() + "&rand=" + Math.floor(Math.random() * 10000), login_response ); }); }); </script> </head> <body> <form id="ajax-login" action="" method="post"> <input type="text" name="username" /><br /> <input type="password" name="password" /><br /> <input type="submit" value="Login" /> </form> </body> </html>
Help




Find My Content
Display name history


Comments
sofiaarce
29 Sep 2011 - 19:48empek
18 Apr 2011 - 20:25I think the most exciting thing would have to be the http://www.petitelapgiraffe.com/ website I got to work on :D
How about you? Any new JS plugins? Snippets?
empek
22 Feb 2011 - 02:11How the hell are you!?
Preemo
24 Jan 2011 - 21:47JGPalmos
21 Jun 2010 - 22:44Renarion Arenimon
18 May 2010 - 21:01empek
01 Apr 2010 - 06:00empek
26 Mar 2010 - 02:54:)
empek
25 Mar 2010 - 18:23I find it very time consuming, and not very rewarding [anymore]. Some comments I've directly received have made me come to the conclusion that I should no longer be involved in WDF.
I hope all is well. :)
TopShopper
13 Mar 2010 - 14:53empek
22 Feb 2010 - 20:06empek
04 Feb 2010 - 00:42empek
01 Feb 2010 - 18:52dan...
29 Jan 2010 - 15:12Dan
Ben
21 Jan 2010 - 00:20