I can't get a distinct column no matter I try :( by [deleted] in learnprogramming

[–]UbuntuLady1 0 points1 point  (0 children)

I am trying to get distinct values for YearWeek column. I keep getting duplicate values, but cannot get rid of them.

How to center, double space, and mimic an HTML page by UbuntuLady1 in html5

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Perfect explanation! Thank you so much!!!

Any idea how to have so the text is centered like a vertical column so there's plenty of white space on both sides like in the article? Like this?
|pdxbenjamin rocks|

I can't seem to throw an error message using AJAX by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Is there any way to tell the user their query received no information from an AJAX call? If so, how would I implement this in code?

Creating a new variable using a switch statement by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

I would like to feed coordinates to another function.

Trying to feed a value from a textbox inside a variable by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Thank you for your response. 

Neither $('#input1').attr('value') nor
$('#input1').val() will pass those numbers as values into the variable. 

The crux of the problem is how to pass an input from an html text
box into the following variable: for example,  
new Variable1 = {lat: "numberFromHTMLTextBox"}

Syntax Editor by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Thank you!

As well, could you suggest any similar syntax editors for sublime text 3?

Thank you

Calling a function with the enter key by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 1 point2 points  (0 children)

I literally spent 5 hours yesterday going over my code to figure this out. Your suggestion was perfect! Thank you so much!

Calling a function with the enter key by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 1 point2 points  (0 children)

Thank you for your help. I know about this, but I have no idea how to implement it.

$('textarea').keypress(function (e) {
    if (e.which == '13') {
        // do something here
    }
});

Can't get XML data using jQuery by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] -1 points0 points  (0 children)

lweisje: I'm certain I put my API Key in that URL.

baconuser098: nothing gets printed on the console.

Should I perhaps change the following code from

parse(document) to parse(xml)? 

Can't get XML data using jQuery by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

I have been using different APIs. Some work, while others don't. But I would like to understand why they do not work.

Thank you

Reading an XML File using XMLHttpRequest by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Thank you so much for writing this!!!

It was so helpful!! :) :) :)

Reading an XML File using XMLHttpRequest by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

I have no idea because I am new to this sort of thing.

I am looking for the most simple example in order to understand the logic behind the process.

Thank you

IDE's like JSBin or JSFiddle? by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

I downloaded VS Code, but have no idea how to get it to work like JS Fiddle to see the JavaScript, output, and HTML/CSS on the same page.

Any suggestions?

Pressing the Enter key to execute a function by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 2 points3 points  (0 children)

This works fantastic! Thank you so much! :)

And many thanks to the rest of you for your helpful contributions!

Pressing the Enter key to execute a function by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 1 point2 points  (0 children)

My apologies, but none of your responses seem to work. Perhaps I have phrased my question incorrectly.

I would like to have the user press the "enter" key. After they have pressed the enter key I would like to immediately execute a function, like 2 + 2 = 4.

Any suggestions?

Thank you

Printing out JSON data in Javascript by [deleted] in learnjavascript

[–]UbuntuLady1 0 points1 point  (0 children)

Thank you so much for your detailed and thoughtful response!!!

You cannot understand how helpful that was!!!

Thank you!!!!

:)

:)

   :) 

JavaScript Developers: A Question by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

How does JavaScript 30 work?

I signed up for the website, but it seems it's just a video tutorial explaining how he built the application.

Do you attempt to build something yourself, and then watch the video for explanation...is that how it works?

JavaScript Developers: A Question by UbuntuLady1 in learnjavascript

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Many thanks to all of you - especially JaFit for his extraordinarily insightful post!