Click here to Skip to main content
15,890,512 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How do I get apis for Facebook, Google talk, skype, whatsapp for my project using javascript and html Pin
Member 1233604412-Nov-16 1:53
Member 1233604412-Nov-16 1:53 
GeneralRe: How do I get apis for Facebook, Google talk, skype, whatsapp for my project using javascript and html Pin
Richard MacCutchan12-Nov-16 2:05
mveRichard MacCutchan12-Nov-16 2:05 
AnswerRe: How do I get apis for Facebook, Google talk, skype, whatsapp for my project using javascript and html Pin
biji cabe16-Dec-16 18:23
biji cabe16-Dec-16 18:23 
GeneralRe: How do I get apis for Facebook, Google talk, skype, whatsapp for my project using javascript and html Pin
nanik8817-Dec-16 21:30
nanik8817-Dec-16 21:30 
QuestionHow to trigger on change on a HTML5 var tag? Pin
Nicky Tse11-Nov-16 2:29
Nicky Tse11-Nov-16 2:29 
Rant[REPOST] How to trigger on change on a HTML5 var tag? Pin
Richard Deeming11-Nov-16 3:21
mveRichard Deeming11-Nov-16 3:21 
AnswerRe: How to trigger on change on a HTML5 var tag? Pin
Peter Leow11-Nov-16 3:41
professionalPeter Leow11-Nov-16 3:41 
QuestionUsing Javascript or JQuery to automatically click a div button Pin
Scott5210-Nov-16 10:21
Scott5210-Nov-16 10:21 
Hello, I am modifying a web page with a lot of CSS code. There are many div tags. Mid-way on the page are div tags that enable a button to appear. I wish for this particular button to automatically click when the page loads. I have tried many combinations of JavaScript and JQuery but nothing so far works.

The button is defined by div tags comparable to this:
<div class="Btn-info">
<div class="Btn-btn active">
<strong>THE BUTTON</strong> <span></span>
</div>
...
</div>


I haven't yet figured out if the second div name is "Btn-btn active", or whether it is named "Btn-btn" and active is an attribute.

My efforts at coding either a JavaScript or JQuery way to automatically click the button I see on the page have not worked. I have tried these variations:

<script type="text/javascript">
jQuery(function () {
jQuery('.div.Btn-btn').click();
})
</script>

OR


<script type="text/javascript">
jQuery(function () {
jQuery('.Btn-btn').click();
});
</script>

OR

<script type="text/javascript">
jQuery(function () {
jQuery('.Btn-info.Btn-btn').click();
});
</script>

OR

<script type="text/javascript">
jQuery(function () {
jQuery('.Btn-btn active').click();
});
</script>

So far nothing works. Does anyone out there have an idea about how to make this work? Many thanks if you do.
AnswerRe: Using Javascript or JQuery to automatically click a div button Pin
2374110-Nov-16 14:17
2374110-Nov-16 14:17 
GeneralRe: Using Javascript or JQuery to automatically click a div button Pin
Scott5211-Nov-16 2:34
Scott5211-Nov-16 2:34 
QuestionGoogle map Context Menu Pin
maher khalil7-Nov-16 4:47
maher khalil7-Nov-16 4:47 
QuestionShow list of data in table with set time out Pin
mrkeivan5-Nov-16 0:48
mrkeivan5-Nov-16 0:48 
AnswerRe: Show list of data in table with set time out Pin
Peter_in_27805-Nov-16 12:45
professionalPeter_in_27805-Nov-16 12:45 
QuestionHow to pass data from one html page to multiple html pages using javascript Pin
Sai Krishna27-Oct-16 2:08
Sai Krishna27-Oct-16 2:08 
AnswerRe: How to pass data from one html page to multiple html pages using javascript Pin
Richard Deeming27-Oct-16 2:17
mveRichard Deeming27-Oct-16 2:17 
GeneralRe: How to pass data from one html page to multiple html pages using javascript Pin
Sai Krishna27-Oct-16 18:38
Sai Krishna27-Oct-16 18:38 
GeneralRe: How to pass data from one html page to multiple html pages using javascript Pin
Richard Deeming28-Oct-16 2:18
mveRichard Deeming28-Oct-16 2:18 
GeneralRe: How to pass data from one html page to multiple html pages using javascript Pin
Sai Krishna30-Oct-16 18:28
Sai Krishna30-Oct-16 18:28 
GeneralRe: How to pass data from one html page to multiple html pages using javascript Pin
Richard Deeming31-Oct-16 3:27
mveRichard Deeming31-Oct-16 3:27 
AnswerRe: How to pass data from one html page to multiple html pages using javascript Pin
ZurdoDev31-Oct-16 4:40
professionalZurdoDev31-Oct-16 4:40 
QuestionHow to change the theme in javascript? Pin
Vayam Technologies Ltd. “Vayamtech” - New Delhi26-Oct-16 0:25
Vayam Technologies Ltd. “Vayamtech” - New Delhi26-Oct-16 0:25 
AnswerRe: How to change the theme in javascript? Pin
Rahul VB27-Oct-16 0:40
professionalRahul VB27-Oct-16 0:40 
GeneralRe: How to change the theme in javascript? Pin
Karthik_Mahalingam9-Nov-16 17:52
professionalKarthik_Mahalingam9-Nov-16 17:52 
GeneralRe: How to change the theme in javascript? Pin
Rahul VB9-Nov-16 23:24
professionalRahul VB9-Nov-16 23:24 
AnswerRe: How to change the theme in javascript? Pin
jkirkerx28-Oct-16 11:44
professionaljkirkerx28-Oct-16 11:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.