Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 10 of 10
Search took 0.04 seconds.
Search: Posts Made By: Kyle123
Forum: JavaScript programming 05-03-2013, 03:00 PM
Replies: 4
Views: 170
Posted By Kyle123
Oh yeah, that was slack :rolleyes: always...

Oh yeah, that was slack :rolleyes:

always the simple things. Thanks
Forum: JavaScript programming 05-03-2013, 02:36 PM
Replies: 4
Views: 170
Posted By Kyle123
Thanks for your response, but it doesn't make any...

Thanks for your response, but it doesn't make any difference I'm afraid
Forum: JavaScript programming 05-03-2013, 11:55 AM
Replies: 4
Views: 170
Posted By Kyle123
Javascript scope in multiple object instances

Hi,

My brain's hurting a bit, would anyone be kind enough to explain why this:
var myObj = function() {
var value;
init = function() {
value = 10;
function1();
}
function1 =...
Forum: JavaScript programming 01-21-2013, 04:34 PM
Replies: 5
Views: 275
Posted By Kyle123
IF anyone's interested in a similar project, I...

IF anyone's interested in a similar project, I found that the most efficient/neatest way of doing this is through a module loading library. I've used requirejs, the basic method is:

A main loading...
Forum: JavaScript programming 01-21-2013, 12:01 PM
Replies: 4
Views: 304
Posted By Kyle123
What "doesn't work"? What error messages do you...

What "doesn't work"? What error messages do you get?

It works here: http://jsfiddle.net/sU2fT/
Forum: JavaScript programming 01-21-2013, 11:24 AM
Replies: 4
Views: 304
Posted By Kyle123
$("#searchbox").on({ focus: function() { ...

$("#searchbox").on({
focus: function() {
if (this.value==='Search...'){ this.value=''; };
},
blur: function() {
if (this.value===''){ this.value =...
Forum: JavaScript frameworks 01-21-2013, 11:06 AM
Replies: 1
Views: 337
Posted By Kyle123
Since you're using JQuery, why not: ...

Since you're using JQuery, why not:

<script>
$(document).ready(function(){

$("input").val("value");

...
Forum: JavaScript programming 01-15-2013, 01:44 PM
Replies: 5
Views: 275
Posted By Kyle123
Sorry for my delayed response, I can see how...

Sorry for my delayed response, I can see how that's useful.

Yes, I can move the loop for the widget into a base file and I hear you on the meta - It's something I'm a big advocate of in other...
Forum: JavaScript programming 01-13-2013, 05:31 PM
Replies: 5
Views: 275
Posted By Kyle123
Thanks, that's really useful input. I hadn't...

Thanks, that's really useful input.

I hadn't considered data-attribs, makes sense to convert those and stop abusing the rel tag ;)

I'm not sure entirely what you mean by boilerplate heavy, do...
Forum: JavaScript programming 01-12-2013, 11:54 AM
Replies: 5
Views: 275
Posted By Kyle123
Loading Javascript Modules through Ajax

Disclaimer, I posted this here (http://stackoverflow.com/questions/14280511/importing-javascript-objects-through-ajax#comment19838049_14280511), but was told it wasn't the place since it was more of...
Showing results 1 to 10 of 10

 
Forum Jump

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