« first day (1108 days earlier)      last day (4065 days later) » 

00:02
cant find something like "makes the element tell the user it is not valid"
00:53
@SomeKittens 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.
0
Q: How to add Javascript with PHP Code to the header section? Adding clicky information

DamainmanI need the following javascript to be added to the header of my web page but I am unsure the exact way to go about it. I already have a custom plugin which is properly activated within wordpress where I put my custom php code via a file I created called custom_functions.php This is the code I ne...

01:53
@tenbits 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.
02:34
@Skylion 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.
Sigh, a chatbot
@Skylion Not a chatbot, THE chatbot
One of my favorite thinks to do is hook a chatbot to a speech API
then talk to it
I am still working on VAD algorithm though
@Skylion Whady'a mean sigh
You hook up a chatbot to a text 2 speech API
then you use a Speech Recognition library for translation of your response back into the API.
Unfortunately, I don't want to waste queries that are empty so a Voice Activity Detection algorithm only records when someone is talking
which involves a ton of signal processing
and a lot of CPU power depending on the technique
02:51
One of my favourite thing to do with chatbot is to exploit bugs and break it
Indeed
For instance, human c@n r3a@d t3x1 l1k3 th1s
could anyone help me rotate an image on a HTML5-canvas?
I have a second canvas that is 1/15 the size of another canvas. The objects are drawn accordingly. But for some reason I cant seem to rotate an image on the second canvas.
I'm trying:
miniCtx.save();
miniCtx.translate((object.x + 16)/15, (object.y + 16)/15);
miniCtx.rotate(angle * Math.PI / 180);
miniCtx.drawImage( -16 /15, -16 /15, 32, 32); // draw object on minimap
miniCtx.restore();
The object is 32 by 32, hence Why i'm getting the middle by x + 16. For some reason its rotating the object at the top left of the image. I have also tr
03:05
Nevermind figured it out
Is there a standard way of generating a unique key to assign to a dynamic element? Like, something more acceptable than just appending a random number as a class?
Generate a hash?
or you could stringify the entire element and truncate the string
Or stringify and then hash the string
@monners Just increment a counter.
@NagaJolokia I was thinking about doing that, but it seems kinda... unkosher
@monners reason?
03:14
Generating selectbox replacements that are bound to the values of the original (now hidden) selectboxes.
just use a counter ID and maybe some prefix
I'm trying to write it so that everything's taken care of in terms of binding the values of the dynamic 'fake' selectboxes and the real ones.
@JanDvorak Yeah, that sounds like the way to go
03:32
0
Q: Need help with Random Number Generator Game code

DerekI am trying to create a random number generator game that compares an input to a random number that is determined by the JS. I cannot get this code running for the life of me and I cannot see where my error lies. Any help is appreciated. <!doctype html> <html> <head> <meta charset="utf-8"> <...

03:46
@JanDvorak Worked a treat. Thanks
@EnglishMaster Good luck with that one.
04:30
Good Morning
@Shailendrsingh 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.
hello good morning all of you.
http://stackoverflow.com/questions/19541728/how-to-consume-iis-hosted-html-file-on-a-remote-anroid-device



please try give me any suggesstion on this question how to resolve.
05:16
hello
@Aryan 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.
anyone ther?
05:32
@WaleedAhmed 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.
hello guys
i have question and i wonder if any one answer
did any one develop the photo collage in javascript ?
@Aryan and @WaleedAhmed please read the welcome messages that were sent to you before asking foolish questions.
did any one develop the photo collage in javascript ?
05:48
friend i have to work on jquery mobile Offline application their is any plugins to do it. right i following this plugin github.com/wycats/jquery-offline
@EmptyArsenal 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.
github still down
well for me
traceroute to github.com (192.30.252.130), 30 hops max, 60 byte packets
 1  abhishek-G55VW.local (192.168.1.5)  2998.787 ms !H  2998.756 ms !H  2998.745 ms !H
what the hell ?
06:43
@AbhishekHingnikar Looks like it's not even getting to your router...
@AbhishekHingnikar Can you flush your DNS cache?
@AbhishekHingnikar Actually... it seems to have resolved the right IP.
07:05
@DeepakOdedara 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.
object is not a function at file:///android_asset/www/borrow.html:31
$(function () {
$("#current_date_text, #return_date_text ").datepicker().datepicker("
setDate ", new Date());
});

$(function () {
$(function () {
$("
input.timepicker ").timepicker();
});
})(jQuery);
I have added jquery.timepicker.js , then why its showing me thins error
you have too many $(function () { s
07:20
@whitehat101
but its shows me valid JS
I'm not sure how to explain this... so
$(function () {
    $(function () {
        $("input.timepicker").timepicker();
    });
})(jQuery);
What you meant was:
$(function () {
    $("input.timepicker").timepicker();
});
you have a ready function inside a ready function
and you're calling the outer ready function like it is a function
okay , can you guide me how to validate this field ?
without the $ in the outer ready function, that works, but your pastie doesn't make sense... or it works, but it is inefficient
$(function () {
    $("#current_date_text,#return_date_text").datepicker().datepicker("setDate", new Date());
    $("input.timepicker").timepicker();
});
because when i click on the my text field it will open dialog and have list of timing like 12:30 PM and all , Now if i select any one of them and remove as backspace then it will clear but it should not
@whitehat101 What about my fiddle ?
You didn't link a fiddle.
you just linked to jsfiddle.com
07:27
Oopss Sorry :( jsfiddle.net/JCnR6
Okay you have merge it
any solution for small bug ?
@whitehat101
first of all thanks for this help
brb lunch break , you can join me :)
I don't know what your question is
08:30
0
Q: WebGL simple application ( only js without html/css )

Gelo VolroI have done the source code for my lesson, which I shall publish later in web at my website, let's look at it: <script src="three.min.js"></script> <script> var renderer, scene, camera, geometry, material, mesh, light, axisRotation; function createScene() { renderer = new THREE.WebGLRender...

09:11
WTF
<script>
(function() {
    with (this[2]) {
        with (this[1]) {
            with (this[0]) {
                return function(event) {
                    javascript: return invite()
                };
            }
        }
    }
})
</script>
09:22
I...
@FlorianMargaine Basically, I'm working on a project because the last person who attempted it ended up with extremely buggy code and also had async: false in about 20 ajax requests. this is what i found in the index.html
I don't want to know.
09:36
I don't blame you :)
That's not even valid js though is it
javascript: return invite()
@DeepakKaithwas 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 guys
guys i need a help. I am appending a gif img when a from is submitted using .html , now i want to show a popup but once that jif img is completed... how to do tht ?
$('.target').html('<img src="images/vanish_poo.gif"/>');

// After completing this gif image i want to show the following div

$(".message").show( "drop",
{direction: "up"}, 3000 );
@RakeshShetty something like
var $image = $('<img>', {src: 'something.png'});
$image.on('load', function() {
	popup.show();
});
ok thanks buddy @Connor ill try and let u know
09:47
like
var $image = $('<img>', {src: 'images/vanish_poo.gif'});

$image.on('load', function() {
	$(".message").show("drop", {
		direction: "up"
	}, 3000);
});

$('.target').html($image);
onClick="Add_Borrow_Entry()" call always same result or its not refreshing the result
Select no - wrap in <head>
@Connor i tried that code which u hav given but it shows message div even if gif image is not completed
@RakeshShetty try
$image.load(function() { ...
See i have remove all other code so you will get idea
09:54
@Connor ?
@RakeshShetty instead of on('load'
ok ill try
@Connor Why the result is not change
@Connor same result :(
nothing chngd
@chintankhetiya I don't know
@RakeshShetty Yeah, i have had a lot of trouble adding load listeners to images with jQuery. try this
var $image = $('<img>');

$image.load(function() {
	$(".message").show("drop", {
		direction: "up"
	}, 3000);
});

$image.attr('src', 'images/vanish_poo.gif');

$('.target').html($image);
if not, then i have one more thing in mind
09:58
ok ill try this first
and let u knw
@Connor nothing happnd
ok 1 sec
yeah sure bro
.message div i hav to show after vanish_poo.gif is completed .....vanish_poo.gif is a animation which will last for 4 sec
var $image = $('<img>').attr('src', 'images/vanish_poo.gif').load(function() {
	alert('Image Loaded');
	$(".message").show("drop", {
		direction: "up"
	}, 3000);
});

$('.target').html($image);
same result :(
@RakeshShetty did you get an alert?
10:03
yes
i got
@RakeshShetty Well, then the image loaded
so everything is working right. you're doing something else wrong
@RakeshShetty use setTimeout for 4 seconds
yes images is loaded but the gif image is animation images which will be last for 4 sec so i hav to show a .message div after this
@Connor yeah i got u but how to set that timeout function im my code sorry but really im noob in jquery
    var $image = $('<img>').attr('src', 'images/vanish_poo.gif').load(function() {
    	window.setTimeout(function() {
    		$(".message").show("drop", {
    			direction: "up"
    		}, 3000);
    	}, 4000);
    });
ok im trying
user986408
anyone been using angular.js so far?
10:10
@connor now that gif image is not displayed only .message div is shown
my whole code is :-
$.ajax
({
type: "POST",
url: "poo_support.php",
data: "name="+$('#supporter_name').val()+"&email="+$('#email').val(),
success: function(msg)
{

$('#supporter_name').val('');
$('#email').val('');

$('.poo_free_city').hide();


var $image = $('<img>').attr('src', 'images/vanish_poo.gif').load(function() {
window.setTimeout(function() {
$(".message").show("drop", {
direction: "up"
}, 3000);
}, 4000);
});






//$('.target').html('<img src="images/vanish_poo.gif"/>');

$('#petition').html(msg);

/*$(".message").show( "drop",
can i send u my gif image ?
@Connor
good morning
morning
make a fiddle
@Connor yes
ok connor
@Connor
10:22
@samitha ?
yes. he should make a fiddle
ohk
10:38
@user2420211 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.
@spiderman77 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.
@Drew i know
anybody has a suggestion how to fix gh ?
Hi,
I have a file in javascript... in which i have tried to connect to database of Microsoft Access... but when i try to browse the html file in the browser... it doesnot show me any thing!

The Code is Pasted Blelow.

<html>
<head>

<title>Call Log Details</title>
</head>

<!--<body onload="show_menu()">
<div id="main" />-->
<body>
<script type="text/javascript">
function dbcon(){
var pad = "C:\\Flipper\\Database1.accdb";
var cn = new ActiveXObject("ADODB.Connection");
var strConn = "Provider=Microsoft.ace.OLEDB.12.0;Data Source=" + pad;
@AbhishekHingnikar gh?
Anyone who is looking for a job coding Scala and is in Israel contact me (not for TipRanks)
user1125394
scala, the java-on-scale
10:54
@tiberiu.corbu 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.
11:06
@Connor u thr ?
0
Q: Optimize ineffiecient Jquery - UX list to grid view

Parallel 2neI am fairly new to jQuery and I am making a new search results page. In this snippet I am switching from a grid to list view and vice versa. Can anyone suggest a cleaner method of performing this change? I did try using a variable to minimize all my (this) calls but I couldn't get them to work. A...

when i create a fiddle, the gif files load very slowly
@Connor
hello everyone!
I'm working with angulkarjs and services. Do you know why this controller doesn't update my $scope.mapmarkers property which is bound by a directive in template? pastebin.com/pxWUYymw
@Connor cant reach github
still same
@eav 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.
11:49
@AbhishekHingnikar oh github.. :)
@connor hi, the question i asked yesterday. loop its related data.
the solution you gave works but it doesn't loop the data itself. i edited the plunker with more clear question. please have a look. thanks in adv

http://plnkr.co/edit/ce8COhA9Ze4JRpfEoaME?p=preview
12:12
o/
hello, anyone free to help me with question above ? ^^
@vzhen why are you doing this?
the data seems so useless, and your problems aren't related to angular, but just javascript
YEah but i still cant use github :-)(
@whitehat101 because my data is denormalized. I have to separate them
12:26
Your face is denormalised.
@phenomnomnominal That's better than normalized.
there is nothing magic here -- you're just manipulating JavaScript objects
@iman 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.
@Kendall your face is better than normalised.
@phenomnomnominal , @OctavianDamiean @Connor sorry for mega ping but i have an insane issue
I cannot connect to any website whose IP starts from 192.*.*.*
12:29
@Abhishek, your face has an insane issue.
@phenomnomnominal helo ?
Hey bro, I'm in an airport and I'm bored, so I'm insulting everyone, it's fun.
@AbhishekHingnikar You can't access your intranet?
@phenomnomnominal Your mom is fun.
@Abhishek What OS?
@Kendall, yep, she's great. What's the difference between a joke and four dicks?
You can't take a joke.
12:32
'Your mum can't take a joke' is actually where I was going, but yeah!
Who wants a present from Copenhagen?
What present?
Don't know, haven't got it yet!
@KendallFrey Github has a 192.x ip
really?
yes
(192.30.252.129)
12:34
Indeed
:P and i cant get it :-(
What do you get?
I get 'this page is taking too long to load'
On a unicorn error page from github
I'm guessing that's not what Abhishek gets
@KendallFrey i get ...... CHROME CANT GET ANYTHING
and on console it gets unable to resolve
12:36
Unable to resolve hostname?
Just chrome?
Are you accessing by IP directly?
nope all browsers
its fucked up i guess my netmask is acting like 225.0.0.0
instead of 225.255.0.0 which is how it should act :-|
@AbhishekHingnikar Chrome in India has no apostrophes?
posted on October 28, 2013

It’s instructive to take a good look at some local mobile browser market stats, as always by StatCounter. Today we treat the UK. In this first European nation we study, 3 out of 20 website visits come from a mobile device. This 15% is the same as in upcoming research subjects US and Netherlands, and pretty much shows where the western developed world stands right now. Safari has held

12:37
@rlemon Dude i havent seen github for 2 days now
you can think how pissed i will be to care about an apostrophe ?
@Abhishek My sisters going to India today, I'll tell her to look out for you.
set the netmask to 225.255.255.255
ohh wow my apologies. I didn't realize this was a serious situation. I'll turn my mocking down to minimal levels.
it works now -_-
Go complain to your network guys
12:38
@AbhishekHingnikar wat?
@Abhishek, turn it off and on.
it started working
just by reconnecting after 225.225.225.225 .. wtfh
@AbhishekHingnikar That's your network mask!?
@rlemon but seriously i am wondering why on earth was it 225.0.0.0 earlier :-(
12:39
That's a fucked up mask!?
Don't you mean 255.255.255.255??
@phenomnomnominal Your face is
@Kendall nice!
@rlemon now i am going to buy a headset
cheap fucking indian < $2 headset ... move your ass up on teamspeak :P
@rlemon Halloween costume?
12:41
its a capricorn !
I know why there was a funny mask! It's Halloween, duh!
@KendallFrey lol
@owsata 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.
Swing and a miss.
and i am installing mean.io :D
12:43
Touche.js looks good if it does what it says it does
@phenomnomnominal Is how the contraceptive worked in your case.
Haha love it. But nope.
Anybody wanna lend a hand ? i wnana do some peer programming :D
I'm so bored
12:45
hi guys - hve a regex blackout for jquery match -> want to extract from the following string ----> <div class="">text</div><ul>(.*)</ul> <---- where text is a javascript variable ... can anyone help?
@phenomnomnominal what is halloween?
I'm going to buy some socks.
big weekend with the misses? (and by misses I mean pornography and palmela ){
@rlemon, a time for sexy costumes and children.
12:46
installs mean.io -> removes angular-ui , removes bootstrap , installs purecss.io
so much more productive :D
bin so far: ulRegex = /<div>class=\"aaa\">text<\/div><ul>(.*)<\/ul>/;
?
@phenomnomnominal Wait, does that sexy expand to children too? :/
random comment
I want to write VimR
Vi Improved Remade
in C.
am I crazy? or is it ok?
it'd be vim-like with ideas from sublime and emacs
12:55
@Octavian, I guess if you swing that way!

« first day (1108 days earlier)      last day (4065 days later) »