Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 9 of 9
Search took 0.04 seconds.
Search: Posts Made By: slickuser
Forum: JavaScript programming 10-25-2012, 07:02 PM
Replies: 1
Views: 184
Posted By slickuser
This is because the assets (css and images) that...

This is because the assets (css and images) that need to be loaded for the lightbox, are not loading. They are trying to load, but returning 404.

Make sure the css file is loaded correctly.
Forum: JavaScript programming 10-16-2012, 08:27 PM
Replies: 5
Views: 219
Posted By slickuser
I enjoy using the javascript debugger from within...

I enjoy using the javascript debugger from within the Chrome Developer Tools. You can load up the script and add break points that will stop the execution of code and allow you to inspect what is...
Forum: JavaScript programming 10-12-2012, 06:41 PM
Replies: 11
Views: 683
Posted By slickuser
On a side note, this code is vulnerable to sql...

On a side note, this code is vulnerable to sql injection. You need to escape the $location variable or use some type of parameterized query.

http://en.wikipedia.org/wiki/SQL_injection
Forum: JavaScript programming 10-11-2012, 09:57 PM
Replies: 1
Views: 367
Posted By slickuser
I see that you are originally loading MooTools...

I see that you are originally loading MooTools and then loading jQuery. Is there a reason that you need both?

I would guess that since $ is loaded first then it is referencing MooTools and not...
Forum: JavaScript programming 10-11-2012, 09:23 PM
Replies: 5
Views: 662
Posted By slickuser
What you have here will work. It looks like your...

What you have here will work. It looks like your mistake is an extra space when you create the new image sources.


document.images[0].src = "nature" + a + " .jpg";


Should be:

...
Forum: JavaScript programming 10-09-2012, 09:31 PM
Replies: 3
Views: 242
Posted By slickuser
Seeing undefined is correct. What you did...

Seeing undefined is correct.

What you did was store the array in the variable 'words'. You did not return the array for viewing.

If you did not want to store the array and just view it, then...
Forum: Computer Programming 10-03-2012, 04:01 AM
Replies: 3
Views: 1,108
Posted By slickuser
I believe the pre-decrement (or increment) will...

I believe the pre-decrement (or increment) will happen entirely before the final calculation. The post-increment (or decrement) will happen after the calculation. Thus:

a=7;
two decrements happen...
Forum: JavaScript programming 10-03-2012, 12:57 AM
Replies: 2
Views: 260
Posted By slickuser
There are many ways to solve this problem. But...

There are many ways to solve this problem. But first you need to define how you will go about handing this issue.

1. Display your base recipe with a way to get to the quantity values (to update)...
Forum: JavaScript programming 10-02-2012, 11:07 PM
Replies: 3
Views: 233
Posted By slickuser
It looks like you are having an issue with some...

It looks like you are having an issue with some open/close brackets! Your if statements should be followed with an open bracket to set a new scope. Review the code below for the updated javascript.
...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT +1. The time now is 07:33 PM.