« first day (553 days earlier)      last day (4389 days later) » 

12:12 AM
@user973810 well the access point is a secured connection as well, but I don't know what it's used for, or who uses it. there's five registers, a printer, and a surveillance computer all wired to a switch, which I think is plugged into the modem... and then the wep secured wireless/wired router is plugged into the modem, and the wep secured access point is plugged into the wired/wireless router.
they give wep keys to customers for the wired/wireless router though
making the access point insecure is a good idea though.
now I'm just wonder if there would be some security issue, if I plugged the access point into the modem instead.
I'll just have to test some things out I guess
I just don't want to allow access to 192.168.0.1:80 for the modem
somehow the surveillance computer has it's own IP address. I think there's 10 separate static IP's, but from what I can tell, only 2 are being used.
I'm guessing there's ten, based on a piece of paper with a generic diagram of how all of the registers/computers and equipment are routed, along with usernames/passwords and some other information.
I just wish I could place my finger on how old all of this stuff is...
I'm guessing about 5 years
but it seems the business is much older than that
and it's likes some of this stuff is newer
 
 
2 hours later…
2:00 AM
any one about
 
2:36 AM
0
Q: Design Patterns for Coordinating Change Event Listeners

mkrakenI've been working with the Observer pattern in JavaScript using various popular libraries for a number of years (YUI & jQuery). It's often that I need to observe a set of property value changes (e.g. respond only when 2 or more specific values change). Is there a elegant way to 'subscribe' th...

 
 
2 hours later…
4:27 AM
@Feeds Anyone? Interested in this also.
 
It puts the lotion in the basket
 
 
1 hour later…
5:58 AM
am I the only one to find this stupid? stackoverflow.com/a/10256640/851498
 
 
3 hours later…
9:24 AM
hi
 
9:57 AM
if I have multiple JS Frameworks running, would it cause problems calling onClick functions?
 
10:13 AM
is it full moon outside .. or something ..
1
Q: Javascript check browser

Jack Renshawdoes anyone have a script for checking for old browsers. It would have to follow this criteria: Allow firefox 3.6 or up Allow Google Chrome 15 and up Allow Safari 5 or up Block IE and opera Block all other browsers Thanks

 
how do i get around it?
 
@Howdy_McGee , remove frameworks
 
can't
 
@Howdy_McGee , yes .. also it would cause your application to be slow and behave erratically
 
no other way to get around it?
 
10:15 AM
what do you mean with "can't"
 
i need both the frameworks
 
no , you don't
 
Your life depends on it?
 
well it would take too much time to change my entire template over
espectially since it's a CMS and completely integrated
 
how is even javascript related to your template ?!?
 
10:16 AM
navigation
 
javascript deals with behavior , not with layout and content
 
uses alot of canvas drawing
it's kind of a mess :(
 
did you try adding a framework which would fix that ?
 
?
what do you mean?
and or fix what
 
11:04 AM
RT @addy_osmani: Interested in Web Components? You can track its progress here and check out all the polyfills too http://jonrimmer.github.com/Are-We-Componentized-Yet/awcy.html
RT @paul_irish: Scott Jehl and others are collecting the various device/mobile browser bugs: https://github.com/scottjehl/Device-Bugs Check the issue track ...
 
11:16 AM
0
Q: simple jquery search on input element

MartyJJust wanted a way of attaching a jquery search plugin to an input element (or collection) and be able to pass specific options at invoke time: This is the plugin code (function($){ $.fn.extend({ enableSearch:function(opts,callback){ return this .bind('focus',function(){ $(this...

 
11:52 AM
Quick everyone, now's your chances!
0
Q: Select HTML element with javascript based on attribute

Freeze Dried PopAlthough i've become quite well versed in jQuery unfortunately my Javascript is somewhat lacking and I don't have access to jQuery in this instance, so please no "use jQuery" answers. Basically Google Analytics enables me to track social clicks as so: _gaq.push(['_trackSocial', 'facebook', 'lik...

 
12:34 PM
hi to all.. can someone help me with my problem plss
-1
Q: How to add a string to a variable;

Julian Paolo DayagI have this js.... $("#form").submit(function(){ var answerlist = "first"; var answerlist = answerlist + "," + $("#get_answer").attr("value"); alert(answerlist); }); i'm trying to add the value of the input field with the id #get_answer to the answelist variable.... i expect that th...

 
12:56 PM
@JinuJD is called square bracket notation, as opposite to the dot notation. See: developer.mozilla.org/en/JavaScript/Guide/Working_with_ObjectsZER0 2 hours ago
 
0
Q: Is it possible to run javascript on plugin deactivated?

Johnny D BravoIs it possible to run javascript on plugin deactivated and if yes then, how should I achieve that. I have developing one plugin in which two new tables are created in wp database and on deactivation I want to confirm from users if he/she wants to delete those table before deactivating.

 
sometimes i feel like all the rest of the world is insane ...
0
Q: How to add a string to a variable;

Julian Paolo DayagI have this js.... $("#form").submit(function(){ var answerlist = "first"; var answerlist = answerlist + "," + $("#get_answer").attr("value"); alert(answerlist); }); i'm trying to add the value of the input field with the id #get_answer to the answelist variable.... i expect that th...

 
1:14 PM
@tereško I've upvoted the answer but I don't quite understand why you use jQuery's .submit() method to set the action instead of DOM0 .onsubmit?
Is there any advantage?
 
because he might have other function on submit
if i placed them directly , it would overwrite the others and the OP would just say "oh , this does not work" .. baby's first steps
 
Ah, so .submit() holds a list of functions to call on the event?
Got you.
 
and attaching the event listener in a proper way without jquery woul just scare him/her away
 
Yea, understood.
 
hi
anyone there who can help me in solve one jquery
 
1:27 PM
hii
 
@rahularyansharma rather than asking if someone can help you, ask the question and if someone can and will they will answer
 
I love to helping others
 
good morning
 
StackOverflow : the crowd-sourcing for the outsource contractors
 
heh
Sad but true.
 
1:36 PM
I cant seem to pass my jquery values to data of an ajax request I am getting and uncaught bad convert exception
 
Worst part is that they all get paid for it.
 
the jquery gets the value from a hidden field. then i put it in the data of the request
i did a console log to and jquery is getting the values
 
@tereško hey i need help ? can i ask?
 
@Zirak want me to make it a question on the site or post it here. different people have different methods
 
1:40 PM
why are you asking me if you need help .. and then right after that you ask if you can ask me a question ... @ShibinRagh , are you feeling well ?
 
@MichaelHahn "Talk is cheap. Show me the code." Saying that the shbangaboo doesn't bling the floop when you joung the zarp...isn't as good as (intelligently) showing the code.
 
@Zirak ill make a question and post it. ty
 
@tereško- i think you are very active here so i selected you to ask my question ,
Question is i want change body background position depends browser width ,
i got the idea and i wrote the jQuery but i couldnt add this background position value - var bgResize = ($(document).width()/2)+145;
$('body').css('background-position', ')
@tereško
this is my code
var bgResize = ($(document).width()/2)+145;
$('body').css('background-position', ')
missing is second line- how to add a value - background position
 
why exactly you cannot add 290px wide blank space in the image and just center it with css ?
 
0
Q: Passing jquery variable to ajax data

Michael HahnI am trying to pass these variables from 3 hidden fields to the data of the the ajax. I am getting the correct variables. I verified via console.log. I tried to parse json but it didnt for me. The error i am getting uncaught exception: [Exception... "Could not convert JavaScript argument" nsr...

 
1:52 PM
and even more .. why the hell would you need to jquery for that
@MichaelHahn , are you aware that <B> tag is deprecated , and people stopped using uppercase tags sometime around year 2000
 
@tereško its just to test :)
 
@tereško , cannot add static width , because its position not center of the body ,
did u check my code , code is good i checked firebugg,
but just missing how to add a value , note second line
$('body').css('background-position', //missing here ')
 
@ShibinRagh , you said that i need to be offset from the center by 145 pixels
whats why i said that you need to add 290 pixels of blank space to that image !
do .. you .. understand .. my .. words
 
hi guys , i have this code '$(document).ready(function() {

$('#Table1 tr').click(function(event){

$('#Table2').show();
alert($(this).attr('id'));
});
});

</script>'
and want use the id of this row to show table2 related to this id
any suggest ?
 
2:09 PM
@tereško - sorry no, i got what you mean
(body width) / 2 +145 = this is the correct position
body width depends computer resolution so i cant add static value in css

var bgResize = ($(document).width()/2)+145;
$('body').css('background-position', // missing here ')
we got value but how to add missing place ??
 
@user1291295 Start reading here because you're doing about five or six things the wrong way. developer.mozilla.org/en/Using_the_W3C_DOM_Level_1_Core
And you need to learn somewhere, so start there.
 
read it and understand it
 
thank you
 
and, if i see you using $(this).attr('id') ever again , i will find you and send chuck norris
7
 
Sam
@teresko any good with regular expressions?
 
2:33 PM
@tereško this link u sent me its the same i have , it alert the id of the row , but i want to use this id in php , not just alert it.
 
then sent it over XHR
 
@tereško ??
 
@tereško i have asked u , if u can answer thx if u cant , i know where to learn . php.com and ,jquery.com , ........... so thx to suggest the link of learning
@tereško this chat room is for help to who can , its not to suggest to learn .
 
emm .. it is php.NET
so , it is safe to say that you do not know where to learn
 
2:39 PM
@tereško i have many where to learn in google
 
I have many monkeys in my closet. Most of them are useless.
Google usually gives you w3schools, since google searches for what you ask and not what you meant.
 
@user1291295 , since , you did not know what XHR is , i pointed you to an article which explains it and contains examples
 
@tereško ok thx , i thought its site of learning because i saw only original link ,
 
2:55 PM
 
@tereško i have write my code there
 
 
2 hours later…
4:33 PM
@IvoWetzel hey there
 
How to check if a String is empty
length return 1 when it's empty
My program doesn't understand that is an empty string unless he got 0
 
huh? The empty string has a length of 0, ''.length === 0. Make sure there aren't any zero-width spaces in there.
 
4:51 PM
Js is not a programing language
 
Is it troll-o-clock already?
 
@tada you sure about you being human ?
@Zirak fire at will!
 
5:12 PM
@Zirak you there ?
 
Depends on where you refer to by "there"
 
nvm :-|
 
Glad I could help
 
5:33 PM
lol
 
6:01 PM
Semicolons are...
 
useless
 
and there we go
another round of useless discussion!
 
I wanted to say something to counter that for the sake of useless argument but I couldn't think of anything ;_; ....
 
Useless crusades are always fun.
 
I imagine Crockford being King Arthur and the semicolon defenders the Black Knight...
 
6:13 PM
Well, maybe not useless but unnecessarily verbose.
 
but then again, it would be rather hard to have an argument about semicolons in a Python sketch...
 
There are cases where semi-colons are necessary in js, but you usually don't get to them.
 
my pov: If a language has them, always use them. if it doesn't have them, well.. yeah, don't use them
it's like people complaining about python not having {}
 
"unnecessarily verbose"? That's a terrible argument
 
Python has semi-colons by the way.
 
6:14 PM
@OctavianDamiean I know, but I still have to encounter someone who dares to use them
foo = 1; b = 2 feels... wrong
 
If you want to write one-liners for the luls you need them.
 
@OctavianDamiean that doesn't count. Either you do enormous list comprehensions or you don't
 
@Zirak Why that?
@IvoWetzel Well, yea there is no valid use case for semi-colons in Python. I agree there. :)
 
How are semicolons verbose in any sense or way? They're far from clutter, and after about 4 mins of experience with them they're immersed in the background.
And why is this such a big deal?
 
clearly some people in this room haven't had their required 4 minutes of experience
 
6:18 PM
It isn't for me.
I was just completing Ivo's statement with my point of view.
 
When you read a paragraph, do you shrivel every time you see a comma? Do colons grab your attention, defer you from the content?
 
Not really because they help me parse the content. It is not comparable though.
 
Semi-colons are punctuation for compilers, and in rare occasions, also for programmers. Use them, don't use them, whatever; just know what you're doing and don't be a pompous prick
 
but being a prick is fun
 
6:22 PM
Are you obsessed by semi-colons that you feel personally insulted when someone says that he doesn't see the need for them?
If that is the case then I'm sorry for insulting your beloved semi-colons.
 
No. Have you read what I wrote? I think I made it clear that I don't care if you use them or not, as long as you know what you're doing, and that evangelizing it is ridiculous.
 
great
just mentioning the word made everyone hate each other
success!
 
I don't hate him, how could I? I mean look at that face.
 
why can't we just all be friends?
 
You smell like dead gerbils.
 
6:34 PM
lol
 
6:49 PM
0
Q: Setting Variable from if/else of another function

user1317417I'm having trouble with this bit of code due to changes in CSS margins that need to be accounted for. I want to change the var $offset in the serialScroll plugin by adding the $margins from the if/else in the .keybind function. I'm a novice with javascript and I'm not sure how to do this properly...

lol @comment
 
7:07 PM
Hi room, can I ask a question here?
 
@rlemon any evented approach to
?
I hate doing the callee haxx -_-
 
Then name the function
(function () { setTimeout(arguments.callee, blah); }());
//=>
(function spoon () { setTimeout(spoon, blah(; }());
 
i love doing the callee haxx :P
makes me feel so badass
but yes a named function here would make most sense
 
lol
 
@user1120680 You just did
 
7:19 PM
okay
 
@Zirak spoon is undefined.
there is no spoon
I am wanting to write my most ultimate image uploader... but i'm lazy.. so i think i'll go watch cartoons instead.
 
Oh dear Omniscient-Entity...if someone says "I am wanting" again, I will punch them in the face.
 
I am wanting a punch in the face.. :P
 
!!/choose "not get punched in face" "finish image uploader" "watch cartoons"
@Zirak finish image uploader
 
!!/choose "get punched in face" "finish image uploader" "watch cartoons"
 
7:24 PM
The bot has spoken.
@rlemon watch cartoons
 
see!
 
Lucky :P
 
haha!
back to cartoons!
bbl
 
Any idea why this doesn't work?
<script>
					function selected() {
					var fileName = $('input[type=file]').val()
if (fileName.value == "") {

	alert('No File Selected');
} else {

	startUploading();

}

}
					</script>
 
simple answer.. cause u dont want to and are not going to learn javascript
we cant help atall :-(
oh fur yer information that input[type=file] will give u the FILE!
as in the file object
u have to do stuff on it laters
and its NOT fileName
 
7:33 PM
		<script>
					function selected() {
					var fileName = $('input[type=file]').val()
if (fileName.value == undefined || fileName.value == null || fileName.value == "") {

	alert('No File Selected');
} else {

	startUploading();

}

}
					</script>
	<script>
					function selected() {
					var fileName = $('input[type=file]').val().replace(/C:\\fakepath\\/i, '')
if (fileName != "") {

	alert('No File Selected');
} else {

	startUploading();

}

}
					</script>
 
Please don't paste horribly indented code blocks in chat. Fix indentation, and if they're not snipplets, paste them on another site (like pastie or pastebin)
Also, fileInput.value does point to the file-path. I don't know what voodoo jquery does in val, though
 
It does, i have another function which echoes the value in an alert
once you select a file
so i know it has a value or not
 
Yeah...you're selecting fileInput.value, and then asking about its value property
 
oh
I tried this also
if (fileName == false) {

	alert('No File Selected');
} else {

	startUploading();

}
 
if (!fileName)
 
7:43 PM
god damn
cheers, that was so simple
Should of just though how PHP does it
 
wut?
 
8:38 PM
fileName is probably just null until it gets assigned a value, so its falsy and !filename will be true
 
well i tried fileName = false
Didn't work
!fileName does
 
Because fileName !== false. When a file isn't selected, it's the empty string, which is falsy
 
Also, fileName = false is an assignment expression. It is not an equality or identity check.
 
9:01 PM
I see, thanks =)
 
Hello
I have a string like this : 75abcdefgh82abcdefghijk43 I want to get the numbers 75,82 and 43 into arrays, is there any way to do that ?
 
Regular expressions for the rescue str.match( /\d+/g )
 
@Zirak Are you answering me?
 
yes, he is
 
9:17 PM
What does that function do exactly? i want to split all numbers contained into the string in a new array, is that possible?
 
we're tired, I'd suggest you look at how to use regex in js ._.
 
Thanx :)
 

« first day (553 days earlier)      last day (4389 days later) »