mrkeck Sharing the Love

7Feb/110

nuSoap

nuSoap did not work when I had the php_soap extension installed. It said "Failed to open stream," which I thought meant it couldn't find the server but I think it was confused.

It looks like they both use the soapclient function name.

I believe you can use nuSoap while php_soap is on but you will need to use nusoap_client instead of soapclient with some slight option changes

Filed under: PHP, SOAP No Comments
1Feb/110

Disabled and Readonly Inputs

Disabled and Readonly input fields both do not allow edits. However, Readonly fields post their values and will receive focus.

Filed under: HTML No Comments
1Feb/110

jquery 1.5 deferred

I plan on using this, if for nothing but to make my code cleaner.

http://www.erichynds.com/jquery/using-deferreds-in-jquery/

Filed under: jquery No Comments
1Feb/110

jquery alternate setInterval

http://www.erichynds.com/javascript/a-recursive-settimeout-pattern/

Filed under: jquery No Comments
1Feb/110

Jquery $.trim

$.trim(test)

//If test==undefined, null, or “” it will return = ""

I was doing a test for null first. Turns out that was redundant

Filed under: jquery No Comments
1Feb/110

Javascript Neat thing

function (test){
return test||1000;
}
//If test==undefined, null, or "" it will return = 1000

Filed under: Javascript No Comments