Re: [WSG] javascript errors still

2010-08-03 Thread Steven Tan
Hi Marvin, 

As for your pasted code, unfortunately it's very difficult to debug without 
actually running the application and see how the error occurs. What you can do 
maybe is to try the IE8 Developer tools (I haven't used it much), and see if 
the error happens on a certain line number, then copy and paste the function 
where the line occurs and also any relating functions into here. 

There are a number of reasons that could have broke IE with Object expected. 
It usually means IE is looking for a function and it's not there. You might be 
able to see which line the error is pointing to, that will give you a good 
start for the debugging.

One more thing, also make sure the application you are running is from a web 
server (a local IIS), and not from your local file system. 

Hope this helps.

Steven


On 04/08/2010, at 1:34 PM, Marvin Hunkin wrote:

 hi.
 did any one take a look at my code.
 i sent yesterday?
 uninstalled internet explorer 8.
 then reinstalled it.
 went to the security zone.
 could not seem to set it to 40%
  
 and went to the custom link.
 made sure that previous active ex, did not need to prompt.
 and enabled it.
 went to the internet tools.
 and then to manage add-ons.
 and enabled the enable button.
 but i still get an error.
 saying an error was made and not able to add to my shopping cart.
 object explected.
 any one able to help.
 i have retyped the code a few times.
 for both pages.
 real frustrated.
 thank you.
 marvin.
  
   
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


Re: [WSG] javascript errors still

2010-08-03 Thread Josh Godsiff

Hi Marvin

I haven't had a chance to go through your code properly yet, but 
glancing through it, I'll suggest that the jQuery http://jquery.com 
javascript library could help in making your code a great deal more 
simple, and less likely to have bugs.


Also, Steven - why would a web-server be required, considering all he's 
dealing with is HTML and CSS? or am I missing something?


- Josh

On 4/8/2010 2:38 PM, Steven Tan wrote:

Hi Marvin,

As for your pasted code, unfortunately it's very difficult to debug 
without actually running the application and see how the error 
occurs. What you can do maybe is to try the IE8 Developer tools (I 
haven't used it much), and see if the error happens on a certain line 
number, then copy and paste the function where the line occurs and 
also any relating functions into here.


There are a number of reasons that could have broke IE with Object 
expected. It usually means IE is looking for a function and it's not 
there. You might be able to see which line the error is pointing to, 
that will give you a good start for the debugging.


One more thing, also make sure the application you are running is from 
a web server (a local IIS), and not from your local file system.


Hope this helps.

Steven


On 04/08/2010, at 1:34 PM, Marvin Hunkin wrote:


hi.
did any one take a look at my code.
i sent yesterday?
uninstalled internet explorer 8.
then reinstalled it.
went to the security zone.
could not seem to set it to 40%
and went to the custom link.
made sure that previous active ex, did not need to prompt.
and enabled it.
went to the internet tools.
and then to manage add-ons.
and enabled the enable button.
but i still get an error.
saying an error was made and not able to add to my shopping cart.
object explected.
any one able to help.
i have retyped the code a few times.
for both pages.
real frustrated.
thank you.
marvin.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org 
mailto:memberh...@webstandardsgroup.org

***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*** 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] javascript errors still

2010-08-03 Thread Steven Tan
Josh,

Mainly to rule out any problems that has to do with running scripts off the 
filesystem, since Marvin mentioned something about setting his security zone in 
IE. 
IE is quite picky about those things.

Steven

On 04/08/2010, at 3:01 PM, Josh Godsiff wrote:

 Hi Marvin
 
 I haven't had a chance to go through your code properly yet, but glancing 
 through it, I'll suggest that the jQuery javascript library could help in 
 making your code a great deal more simple, and less likely to have bugs.
 
 Also, Steven - why would a web-server be required, considering all he's 
 dealing with is HTML and CSS? or am I missing something?
 
 - Josh
 
 On 4/8/2010 2:38 PM, Steven Tan wrote:
 
 Hi Marvin, 
 
 As for your pasted code, unfortunately it's very difficult to debug without 
 actually running the application and see how the error occurs. What you can 
 do maybe is to try the IE8 Developer tools (I haven't used it much), and see 
 if the error happens on a certain line number, then copy and paste the 
 function where the line occurs and also any relating functions into here. 
 
 There are a number of reasons that could have broke IE with Object 
 expected. It usually means IE is looking for a function and it's not there. 
 You might be able to see which line the error is pointing to, that will give 
 you a good start for the debugging.
 
 One more thing, also make sure the application you are running is from a web 
 server (a local IIS), and not from your local file system. 
 
 Hope this helps.
 
 Steven
 
 
 On 04/08/2010, at 1:34 PM, Marvin Hunkin wrote:
 
 hi.
 did any one take a look at my code.
 i sent yesterday?
 uninstalled internet explorer 8.
 then reinstalled it.
 went to the security zone.
 could not seem to set it to 40%
  
 and went to the custom link.
 made sure that previous active ex, did not need to prompt.
 and enabled it.
 went to the internet tools.
 and then to manage add-ons.
 and enabled the enable button.
 but i still get an error.
 saying an error was made and not able to add to my shopping cart.
 object explected.
 any one able to help.
 i have retyped the code a few times.
 for both pages.
 real frustrated.
 thank you.
 marvin.
  
   
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***