With coffeescript, you have to explicitly add your variable to the global namespace. It's nice, that you don't have to worry about it, but you can do it easily if you want to
Will there ever be (or is there) a programming language that has syntax of that of a truly high level language (VB etc.) but has the capability to operate like a low level language (C++, C)?
@Jeremy Yeah, what I mean to say is that people in this room typically make fun of PHP. But if you go into the PHP room, you don't really see that happening against JS all that much.
@Jeremy The pace at which the computer industry is advancing, it will be pointless to learn about it a couple of years from now when they are typically non-existant.
2. Its nice that the tablets are just like any others in terms of form but also give productivity, but does MS not understand that people are on their tablets because they feel like relaxing, not doing productive work? They already have a PC for that.
So..with javascript and especially when using angularjs, I know how to write an application by describing what the application is and does. The way you would talk about it pretty easily translates into they way the code looks. Is there no way to do that in php?
first, replace the deprecated mysql_ with mysqli_ or PDO. Second, read a tutorial on either of these. Third, realise I've written the steps backwards :-)
@Shea user_id is the primary key, Yeah i'm new to php, I did make a login/register and simple forums though, set-up my linux server and all. Really new to it all thanks for the help though.
@geniuscarrier 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.
@Jackson 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.
can someone please tell me how can i run this javascript from code behind using ScriptManager ... window.opener.FillTextFromPopup('yourTextString'); window.close();
A quadtree is a tree data structure in which each internal node has exactly four children. Quadtrees are most often used to partition a two-dimensional space by recursively subdividing it into four quadrants or regions. The regions may be square or rectangular, or may have arbitrary shapes. This data structure was named a quadtree by Raphael Finkel and J.L. Bentley in 1974. A similar partitioning is also known as a Q-tree. All forms of quadtrees share some common features:
* They decompose space into adaptable cells
* Each cell (or bucket) has a maximum capacity. When maximum capacity is ...
I have already checked previous answers on the SO. I know they are cool.
Here is my chance:
I am taking values of textbox and passing it to function to validate. It passes url correctly but not doing validations. Can someone check where is the bug? I could not identify
<html>
<head>
<t...
@AseanJazz 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 don't know that's possible or not, my question is : Is there anyway to hide keyboard in Android 4.0.4 using jQuery or Javascript?
Because I developed application that using mobile device Android.
<input type="text" name="input" id="input"/>
As we know, when We focus to textbox, soft keyboar...
Quick question, how could I display only certain buttons with Html5-canvas depending on a variable? Like only display the first 2 buttons if variable =2, but 3 if variable =3? I'm using: buttons = [ [10, 10, 50, 30],[70, 10, 50, 30], [130, 10, 50, 30] ],
@KavithaKGowd 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.
angle = angle || 0;
var sin = Math.sin(angle);
var cos = Math.cos(angle);
var rect = {
w : w,
h : h,
x1 : x1,
y1 : y1,
x2 : x1 + w * cos,
y2 : y1 + w * sin,
x3 : x1 + w * cos + h * sin,
y3 : y1 + h * cos + w * sin,
x4 : x1 + h * sin,
y4 : y1 + h * cos
};
return rect;
Can anybody point any mathematical mistakes i am doing there ?
i am trying to generate a rectangle with a point x1,y1 as reference at an angle angle
I am facing a strange behavior in my PhoneGap Application.I am new to this so your every help will be appreciable.
I've made an application in PhoneGap(Cordova) where I have designed two Index.html file.
Using Index.html file when I click on Icon(my_notification_new) I move to Notification.html....
@TimTakel 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.
@Preethy 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 added code for tool tip display when hovering the pointers in the google map.It is showing the tool tip but the content is "undefined". How can put the corresponding content related to the pointer into the tool tip box.The code is :
function initialize() {
var myOptions = { zoom: 11, center: new google.maps.LatLng(29.7,-95.4), mapTypeId: google.maps.MapTypeId.ROADMAP }
var map = new google.maps.Map(document.getElementById("salon_map"), myOptions);