« first day (1049 days earlier)      last day (3917 days later) » 

12:24 AM
@thiagobraga Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
12:39 AM
@rlemon EST. anytime after 6pm is when i get home.
@rlemon i'm messaging you on steam
 
12:55 AM
Well I am also est so that is easy
Where you from?
 
Florida, USA
 
@phenomnomnominal Best debug message ever: print 'penis'
 
Today sucked.
 
1:13 AM
@Shmiddty Don't worry. There will be a day worse. <3
 
Just a quick question, in jquery:
i want to create a hover button using code below,

$(".whatOnStyle").mouseenter(function () {....});

but I want to refer to this before the .whatOnStyle, maybe something like this?
$(this).$(".whatOnStyle").mouseenter(function () {....});

is this valid?
 
1:25 AM
uh, what?
(no, it's not valid)
Do you want $('.whatOnStyle', this)? This would select .whatOnStyle if it's this or a descendant of this.
 
I want to select a descendant of .whatOnStyle (only the current hover div where whatOnStyle is present )
but the class is present at other places , that why I do not want to trigger them , that why I use 'this'
 
@apfunk Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
2:06 AM
SHAZAM!
 
Shazam?
 
2:22 AM
yep
 
Good ... good.
 
2:47 AM
@rlemon send me the ip whenever you get it
 
3:43 AM
@Ol'Reliable Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
was that like an automated message?
 
No, she's attracted to you
 
Hello
<div class="input-append date dp3" data-date-format="dd-mm-yyyy">
    <input class="span2" size="16" type="text" id="RG_Date" name="RG_Date" value="12-02-2013" readonly><span class="add-on"><i class="icon-th"></i></span>
    </div>
I need to getonly the dd(Date) and the Month(mm)
is it possible ?
 
4:00 AM
@ఠ_ఠ Hey man, could you register a .lk domain for me?
 
ahh why?
 
Because all the cool names are not taken yet and they are cheap
 
@李彥良 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
 
i want to use this type of floting promo code widget
can you tell me anyone how i can do it?
 
4:11 AM
1. Learn how ---to program--- randomly throw things together (more commonly referred to as CSS)
2. Program it
 
anyone cab help me?
 
CSS is not programming
:P
 
can
 
how to get only dd in data-date-format="dd.mm.yyyy"?
 
CoolBoy I'll bet if you search around the web people have already built jQuery plugins to do that sort of thing
 
4:19 AM
@ఠ_ఠ substr(0, 2)
 
@TheEks i already try to find like this plging but i can not .. i see this plugin in this website centriohost.com ..
 
@CoolBoy this isn't really a place you come to ask such general questions. Go do some research about how things like that work. If you're not interested in that you need to be willing to pay someone like the people in here to do it for you.
 
Again: that is just CSS, not jQuery plugin
 
@copy Hi
 
4:35 AM
I asked my friend from New Zealand how many sexual partners he's had, he started counting and fell asleep...
 
that's how we roll
 
amazing
 
hi
where do you want to use the widget coolboy
@CoolBoy hey ill help you
 
> There are two types of people, those who extrapolate from incomplete data sets.
 
4:46 AM
There are 10 types of people in the world: those who understand binary, and those who don't
 
@Sudsy Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
if(dd < 15){

 for (var i=1;i<insCount;i++)
{
$(".[i]due_date").text(mm);
}

}
can i use a class selector like this ?
 
whats dd stand for
 
dd is also integer
date = dd
 
and insCount
 
4:50 AM
it's also and integer
 
and then due_dates your array?
 
it's a table td class
 
@DeepaThalikar Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
first id class is already set to 1due_date
and 2nd one 2due_date
and so on
i want to put mm value to the td
@Nikki
 
i dont think that wil select a class
that looks more like a loop or while
 
4:55 AM
how could this to be done?
 
you need a bigger if statement
 
intCount is changing always
it's from the DB
 
(var i=1;i<insCount;i++)
i = 1 means it starts at 1 and i is your current integer that refers to the class your going to select in $(".[i]due_date").text(mm);
the i<insCount means do up until i is less than inscount -1 i think and the i++ increases i buy 1 everytime you run through it
first how do you want it to change is it going to change automatically or on a event
you start of with writing the event to happen egsample onclick="funktionname()"
then you start your javascript to put the funktion in
<jasvascript type=javascript/text>
sorry for speling dont have intelisense so dont copy its proble wrong
then you create your funktion
mayb i should just go write you the code
you need 2 arrays 1 that gets the value of your database and the othe that gets your class
im going to smoke do you want me to write you the code
r u stil there
Do you want my help or not
 
5:48 AM
@Nikki
Hekki
 
hi
 
how are you nikki
?????????????
 
fine and you
 
I am also fine
nikki where are you from
@SarabjeetSingh hello
 
Hello @Nikhil
I have a problem
related script
I need to do two operation on single click
 
6:02 AM
@SarabjeetSingh What type of problem
hmmm....
 
one to submit my form and another to send email
problem is this task is in one controller
 
im from south africa
 
i can't break this task
 
@Nikki south africa
k...I am just asking genrally
don't wanna tell no problem
@SarabjeetSingh So you want to call two functions on single click
is it right
 
kind of
 
6:04 AM
ownley 1 thing can hapen at a time but when you start a funktion it wil continue till all tasks are done
 
but it is in one controller
yes @Nikki
 
@SarabjeetSingh ifrst call your email function and then from that ou can call submit
nikki are you aware of backbone
 
my email function take two much time i want to do it at background process
and after submit my form it redirect to another page
 
youl have to pause it then and then call the next funkion
backbone?
 
backbone.js
 
6:08 AM
after the form submit I want to redirect it to another page not.And email process should be run @ backround
 
window.setTimeout(partB,1000)
dono if this will work havent tested it
 
after email success it show alert also
 
i dont know backbone.js
i cant concentrate
 
if I use window.setTimeout(partB,1000) ,it wait at that paritcular window
 
sara your email shouldnt take that long
 
6:11 AM
i want to redirct it also
yes it take 2 min because i attach the files also
 
when your email is sent then do a alert then go to next page
 
no first go to next page and email should run at background and after that it will show alert
 
mayb show a progress bar while it sends
then let me think i first need to go smoke
 
I also think of this ,may be there another way to this
okay @Nikki thank's for your help
 
the thing about programing is if its to hard then mayb your your to concentrated on using the wrong method
i get so obsesd with making a thing wok i spend hous on it then when i finally get it right i think of something much simpler
 
6:18 AM
Same thing ,I also wasted so much time on this task ,let me think again
 
look at gmail when i want to send a image i have to upload it first then send it and thats acceptable
nikhil you were saying somthing about backbone.js
what does your website do exactly
 
is anyone familiar with ASP.NET MVC?
Response.Write("<script>alert('No version exists')</script>");
return RedirectToAction("index");
 
y what do u need help wihh
o
 
this message will not be alerted in my front-end
 
is it code at the backend of a aspx page?
 
6:25 AM
in my asp.net mvc action
yeah, backend
 
ok so what do you need
 
i seems the message will be flushed by return statement
 
did you try without resturn to test what it does?
 
i want the return statement to be executed after i click alert popup
let me take a look
 
then you have to set the return into the ok click button on the alert
 
6:29 AM
Response.Write("<script>alert('No version exists')</script>");
return null;
this works fine
oh, im confused with server code and client code
 
Response.Write("<script>alert('No version exists')</script>");
will give you a popup saying "Noversion exists" then you need to do a action on the ok click of that alert message
 
yap
 
DD.
hii @all, i imported a listview project but in jquery.js file i'm getting this error "Syntax error on token "Invalid Regular Expression Options", no accurate correction available", any idea guys ??
 
so you want the code for going to the index page on ok click
 
yeah,
 
6:32 AM
dd think you need to import regular expressions
 
why?
i have no idea
about that
 
paul ill go write it for you fast
dd idk ill help u in a sec just want to help paul first
 
DD.
first thanks for ur reply :) , after lot of search in google, i found that it is bug in javascript file.. @Nikki
i disabled semantic validation as instructed from the SO answers, still facing the same error
 
Morning Developers.. What's New ??
 
paul
ill brb im going to go write the code for you
 
6:41 AM
@Nikki - U mean paul is new.. What??
 
paul here you go
    Response.Write("<script language='javascript' type='text/javascript'>")
    Response.Write("alert('No version exists')")
    Response.Write("</script>")
    Response.Write("<script language='javascript' type='text/javascript'>")
    Response.Write("document.location='Index.htm'")
    Response.Write("</script>")
this will give you the alert message then when you clickd the ok it will redirect you to that page
mine was called Index.htm
 
m59
 
@paulcheung did you get the code
@DD. did you come right?
@NathanLee sorry Hi
 
DD.
i din get u ? @Nikki
 
6:56 AM
@m59 hehe
 
m59
=D
 
zzz....
going to go shower mayb ill wake up
have to wait an hour for the water to warm up
 
7:30 AM
@IvoWetzel welcome mate :D
 
user1125394
8:18 AM
how optional are trailing ; in js?
 
@Neville Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
8:33 AM
Is there a way(jQuery) to get all background properties from one element and to paste to another. Im trying with something like this:
$('body').css({
'background': $('.app').css('background')
});

But this will not work because shorthand CSS properties (e.g. margin, background, border) are not supported in jQuery.
 
0
Q: proplem with unpack javascript

mr-manI have problem with javascriot this problem when i unpack this javascript it not work and i not good in javascript. and Thank you advance... and the javascript: <script type='text/javascript'> //<![CDATA[ // JQuery hover event with timeout by Taufik Nurrohman // https://plus.google.com/108949...

 
Hi.. i wanted to ask a question regarding this chrome extension called turn off the lights (chrome.google.com/webstore/search/turn%20off%20the%20lights) , im aware of how to dim the background using jquery and css etc.. but what i am interested in knowing is how to get the current video playing from popular websites like youtube, dailymotion etc.. before applying the jquery effects..?
 
// object
obj = {
    one : 'one',
    two : 'two',
    three : 'three',
    four : 'four'
};
var cache = obj;
console.log( cache.one, cache.two, cache.one + cache.two );
// or
consoe.log( obj.one, obj.two, obj.one + obj.two );
Should I be caching an object if I access it more than once?
 
hi
i just waisted a whole hour writing code for a question that 2 people voted the question as being askd of topic just cos the didnt understand the question the quy askd
 
8:49 AM
@Nikki so vote to reopen
 
@mikedidthis err there is no special meaning to naming a variable cache
 
i could of helpd that guy i cant i dono how to get back to the question
 
@Esailija sorry, bad name cache
@Esailija I mean in general. var someName = obj
 
var is a variable it means a ramdom name for something
 
@mikedidthis obj is already shorter
obj.foo is shorter than someName.foo
 
8:51 AM
you can name var anything you want it just holds a place for somthing to put init
 
@Esailija I may not be explaining myself properly. Let me try again.
 
user1125394
!! column < 80 chars or editor word wrapping?
 
@cc editor word wrapping
 
@rlemon Yeah, I heard it several times before
 
@mikedidthis whatsup with the code above
@mikedidthis nm i dont wane know
are you trying to make an array
 
8:56 AM
No, I just want to know if I should cache an object to a variable if I am referencing it more than one.
Test = {
    name : 'Dave',
    age  : '39',
    sex  : 'male',
    getStats : function () {
        return this.name + 'is a' + this.sex + ', aged' + this.age;
    },
    getStats2 : function () {
        var person = Test;
        return person.name + 'is a' + person.sex + ', aged' + person.age;
    }
};
 
It doesn't matter
Unless getting the subject is a complex operation, it's the same
 
if you wane use it more than once just put it in 1 array and refer to it will look at what you mean in 3 min
 
He doesn't mean "have more than one of it", he means "access more than one thing on it"
 
@Zirak yep, that is exactly what I mean.
 
dim a string and put what you want in the string
 
9:01 AM
@Nikki I appreciate the help, but no.
 
mmm
 
@Zirak if I was to access this.name more than once I still don't need to worry about storing the reference as a variable?
 
@mikedidthis No
As said, unless getting something is a complex operation, don't worry about it.
 
@Zirak Thank you sir. Helpful as ever.
 
Gotham is safe once more. But for how long?
 
9:03 AM
@paka Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
16 seconds, that's how long.
 
wait for it...
 
you wane know if you made a string in 1 funktion if you can refer to that string in a othe funktion without maaking the string a second time?
 
@rlemon However, the joke at the top about the Hitchhiker's guide is truly funny. (reddit.com/r/AskReddit/comments/1lcuw9/…)
 
@MarcRasmussen Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
9:06 AM
how do i change the value of a data-original-title field with jquery?
$(this).attr('data-original-title','hello world').
doesnt seem to work
 
im off i dont seem to understand the questions anymore
 
@user1032410 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@rlemon Most of the other jokes there are just half-assed puns
Like the "read Marx" one
 
@MarcRasmussen try .data('data-original-title','hello world')
 
@paka I think it would be .data( 'original-title' , 'hello world' )
 
9:13 AM
yep
 
@kondapaka Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@MarcRasmussen is $( this ) something?
 
@user2617393 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
hi all
i have one doubt,here i get a values from server and display in html,now i want to pass that values to javascript when the button was clicked,how can i pass that values as a parameters to javascript function from html
 
Saldy
That didnt do it
    $(this).data( 'original-title' , 'hello world' ) did not work :S
 
9:17 AM
Olla!
 
@MarcRasmussen what is $(this)
 
Como estas?
 
@OctavianDamiean You missed my sexy "I just got up" voice.
 
<i> </i>
<i id="edit" class="icon-edit icon-1x tooltips responsive" data-desktop="tooltips" data-placement="top" data-original-title="Click to edit details" ></i>
 
@Zirak Aw, damn.
 
9:18 AM
and its the data-original-title i want to change
$('#edit').click(function(){
$(this).data('original-title' , 'hello world' )
}
 
How do you know it isn't working
 
Cus when i click it nothing happens :D ^^
oh well
nothing changes
 
What do you use to see that nothing changed?
 
0
Q: My yld NPM : feedback needed

Lcf.vsI'm looking about feedbacks on my callbacks/promises alternative, please. The yld repository Thanks in advance.

 
Because if you're viewing the original source, and no the current DOM tree, of course nothing'll be different.
Instead, console.log the current value of data-original-title after you set it, and check your console.
 
9:20 AM
@Zirak errr lo siento, cono.
That's pretty much all of my Spanish knowledge. :D
Impressive, I know.
 
@OctavianDamiean Hijo de puta!
 
Proof of concept more than anything, but what @Zirak is right.
 
@Zirak I hate you so much because my I don't know how to counter that in Spanish!
 
@goldhand Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
9:25 AM
@BadgerGirl quick, help me, insult him in Spanish! Ayudame!
 
google translate> "I insult you!"
Does anyone know how to prevent Windows Media Player from exiting fullscreen mode when it loses focus?
 
@LogicalAngel That's cheating.
That's not quite JS related, is it?
 
Most say, "Life's a bitch, then you die."
No, but I can't seem to find the solution anywhere.
 
i have a problem with my media player 2
using vcl palye
 
I even posted the question on MS Answers a week ago, and no result.
 
9:36 AM
i onday typed somthing on the keyboard so now when i open it it cant minimize sucks
 
I don't know anything at all about VCL player.
Maybe it was a hotkey or something?
 
question: when i run another program like for egsample i debug a page with visual webdeveloper i disconnect from stackflow does this hapen to every1
 
Yea, when you disconnect here, everyone will disconnect as well. We're a fucking loyal bunch.
 
cos its kinda irritating to help some1 when i have to login and go find the question again after debugging
i ment how do i fix it
 
Invest in my pizza & ice-cream sandwich company.
 
9:42 AM
will that fix it?
 
@mikedidthis thats great and all buy the actual text is not changed :S?
 
If I say "yes", will you do it?
 
@MarcRasmussen what text?
 
@MarcRasmussen ...why will it? You're changing a data attribute
 
@mikedidthis its a tooltip
@mikedidthis ok.
 
9:43 AM
@MarcRasmussen show us the full code, via jsfiddle.net
 
NOT HERE
Don't paste your code here
 
if you loan me the money to invest ill invest 50% of the loan if the payback on the loan is -100% a day
 
GAH
1 message moved to Trash can
!!tell MarcRasmussen format
 
@MarcRasmussen Format your code - hit Ctrl+K before sending and see the faq
 
@Zirak sorry kinda my fauly.
 
9:45 AM
And don't paste your code here if it's more than a handful
 
@mikedidthis never used jsfiddle il try give me a sec
 
was that jquery?
 
@MarcRasmussen replicate what your issue is on jsfiddle
 
can you see the code there?
 
@Zirak I'd like two codez, with fries and a coke.
 
9:47 AM
@MarcRasmussen yea
 
@OctavianDamiean Sir, this is a bank.
1 message moved to Trash can
@Nikki Use real English
This isn't msn
 
id did
 
It's an emulated API derived from javascript functions, but yes, its JavaScript.
 
@Zirak Well, then can you please book these pants on my account?
 
Am I going crazy(er), or is something strange going on today in chat?
 
9:49 AM
@MarcRasmussen your example makes no sense and is missing code
@Zirak no, its a strange day.
 
how long will it take to learn if it took me a day to learn javascript?
 
@mikedidthis execpt from css what is it missing?
 
@Nikki It took you a day to learn js?
That's quite impressive. I started 3 years ago and I still don't know a lot.
 
@MarcRasmussen .billing_details & .edit_billing
 
2 days if you include doing a few tests
 
9:50 AM
@Nikki 22.6678 minutes.
 
Not very long, just look over the API reference at JQuery.com. Though, in my opinion, it might be better to just use your own JavaScript functions so that you have a better scope of your core logic.
 
I measured that why my magic invisible stopwatch.
 
How the hell did you lean JS in a day?
 
whispers He didn't. giggles
 
9:51 AM
you open a book and understand what you read
 
I've been working with it for a while and still don't understand it all.
 
@Nikki So if I may ask, where the hell are character classes defined in the RegExp API, how in the world are lexical scopes created according to the spec, and where is hoisting defined there?
 
how could i get only the positive integer of this ?
-12500
should be 12500
?
 
@Zirak Let's make it easier, let him explain this.
 
Your name is retarded, I can't ping you, so I refuse to answer.
 
9:53 AM
i didnt say i know everything there is to know
 
Can you do absolute numbers with Math()?
 
...but you need signum, google it, and look for Math.abs
 
@LogicalAngel yeah Math.abs( 132)
 
@Nikki Then how can you say you "learned js"? When is that magical border between "knowing js", and "not knowing js"?
 
I guess that would be the answer, then. But, if you're outputting a negative integer where it should be positive, you should probably check your logic.
 
9:54 AM
@LogicalAngel unless I get all the code related to your issue, I can't help.
 
alert('I knowz JavaScriptz, I are proz!');
This.
 
ive been using javascript for 2 years now and you learn something new alot of times i said i learnt it in a day meaning i studied then wrote a test on it
 
So if I pass a mysterious test in something, then I know it?
 
yeah
 
@mikedidthis How many fingers do you have?
 
9:55 AM
@mikedidthis Was related to someone else's question.
To get the positive outcome of -somethingorother
 
how can you say you leart html in a day if you go to w3school and write the test and pass does that mean you know everything about html?
 
...you can't.
 
Speaking of tests, does anyone know what they test you for on W3Schools' JaveScript certification?
 
so i learnt html the first day and then wrote w3shools test then did javascript the next day
 
bursts into tears
I can't...no. Just...agh
 
9:59 AM
@LogicalAngel sorry dude, wrong person.
@Zirak twelvety. This room makes me want to cry.
 

« first day (1049 days earlier)      last day (3917 days later) »