[Proto-Scripty] Re: problem in IE8

2011-07-07 Thread T.J. Crowder
On Jul 7, 7:22 am, KingKong99 wrote: > very simple code > > li_date = "hello"; > $('log').innerHTML = li_date; > > it works very fine in all browsers but not in IE8 "Unknow runtime error" You'll have to give people a bit more to go on than that. What kind of element is "log", for instance? "Unkn

[Proto-Scripty] Re: problem in IE8

2011-07-07 Thread KingKong99
Sorry that I gave you not enough coding. Actually , you are right. I want to put "" inside this "". I have changed it to and it is just working fine!!! Thanks T.J. On Jul 7, 2:44 pm, "T.J. Crowder" wrote: > On Jul 7, 7:22 am, KingKong99 wrote: > > > very simple code > > > li_date = "hello"; >

[Proto-Scripty] What's your favorite error status code?

2011-07-07 Thread Walter Lee Davis
I've used 409 (Conflict) a lot to signal back to my application that an Ajax request went wrong at the server level (409 and Ajax are both powerful household cleaner brands, so it's my private-joke-over-HTTP status). But if I want to be semantic at the error code level, what code best signa

[Proto-Scripty] Re: What's your favorite error status code?

2011-07-07 Thread T.J. Crowder
On Jul 7, 12:42 pm, Walter Lee Davis wrote: > I've used 409 (Conflict) a lot to signal back to my application that   > an Ajax request went wrong at the server level (409 and Ajax are both   > powerful household cleaner brands, so it's my private-joke-over-HTTP   > status). But if I want to be sem

Re: [Proto-Scripty] Re: What's your favorite error status code?

2011-07-07 Thread Walter Lee Davis
On Jul 7, 2011, at 8:21 AM, T.J. Crowder wrote: To my mind, HTTP response codes aren't for application logic signalling. They're for signalling between the browser and server. The correct response to bum data from the user is a 200 with an application-logic-level success/error flag. Fair eno

[Proto-Scripty] Re: What's your favorite error status code?

2011-07-07 Thread T.J. Crowder
On Jul 7, 1:27 pm, Walter Lee Davis wrote: > On Jul 7, 2011, at 8:21 AM, T.J. Crowder wrote: > > > To my mind, HTTP response codes aren't for application logic > > signalling. They're for signalling between the browser and server. The > > correct response to bum data from the user is a 200 with an

Re: [Proto-Scripty] What's your favorite error status code?

2011-07-07 Thread Phil Petree
I tend to favor 1701 which is the bios generated error code for hard disk drive / controller failure which was stolen from startrek NCC-1701 (saucer, seperation, spin ups etc.) and when you got a 1701 error you were going no where! On Thu, Jul 7, 2011 at 7:42 AM, Walter Lee Davis wrote: > I've u