better than your blog.
Header image

The thing I like about Javascript frameworks so far is that I don’t seem to be having the same kind of browser compatibility issues I used to have when I used to write most of my Javascript from scratch.  All of the browser incompatibilities have been abstracted to me so I don’t have to worry about whether or not things work in IE6, IE7, Firefox..etc FOR THE MOST PART.

Two new quirks with Firefox 3.0 and my Web Developer Toolbar:

1.)  I can’t do CTRL+SHIFT+S to not show the styles on my page.  Instead my bookmarks show up on a sidebar.  Boo.

2.)  I can’t do CTRL+SHIFT+Y to inspect a particular element in the DOM and see where it sits in the DOM.  Instead, this “Jump to Tag” window pops up.
I will now search for a solution.  If anyone finds it before me, please comment.

I didn’t know you had to say “commit;” after any SQL statement in Oracle to have the changes take effect. Maybe I’m stupid but no one ever taught me this, lol.

My goal for this one situation is to validate all my form data with my backend PHP code through AJAX. If all the checks on my form don’t go through successfully, the page will not go to the next page specified in the HTML form’s “action” attribute.

On the Javascript side I use the serialize() function to take all my form data and pass it through to action.php.

$("#submit-form").submit(
function(){
var data = $(this).serialize();
$.post( "action.php", {
action: "ajax_verify_form",
data: data },
function(response){
alert(response);
return false;
}
);
return false;
}
);

On the PHP side:
if($action == "ajax_verify_form"){
$fields = explode("&",$data);
foreach($fields as $field){
$field_key_value = explode("=",$field);
$key = urldecode($field_key_value[0]);
$value = urldecode($field_key_value[1]);
eval("$$key = \"$value\";");
}
}

Now I have all the same variables from the client side on the PHP side. Now you can do whatever form-checking you need with PHP.  If you have an error, echo the error so the callback function on the jquery.post() function will catch it.

Google Transit is saying that it will take me 53 minutes to get home if I ride the bus. It will cost me $1.50 to take the bus. It’s less than 10 miles between home and work. My car gets about 34 miles per gallon. Gas was like $3.79. I think it will be cheaper to drive.

Here’s the Google Transit route: http://twurl.nl/genltl

1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163|164|165|166|167|168|169|170|171|172|173|174|175|176|177|178|179|180|181|182|183|184|185|186|187|188|189|190|191|192|193|194|195|196|197|198|199|200|201|202|203|204|205|206|207|208|209|210| buy pills risperdal buy atarax tablets buy risperdal without a prescription cheapest order inderal zofran buy no prescription order no prescription lasix actonel no prescription needed purchase albuterol over counter order valtrex online birth control no prescriptionAccutane Online Doxycycline online Buy Cheap Lexapro Online No Prescription Prednisone Online Buy Accutane No Prescription