forexample I can go to [Click Here](http://www.msn.com/) and open developer tools and write this code `document.querySelector('.news a').click()` and it will open news. Now I want a program to do this automatically for me. write a javascript code that do this for me actully this was just a simple example I don't want a program to open news in msn actully I want to submit something automaticaly. 1)how can I do this (I know if want to make this app for desktop I should use something like appjs)? 2)Is there any way that it doesn't open browser and submit that?

Member Avatar
Member Avatar
+0 forum 3

for example I have this html code: <select id="mySelect"> <option value="0">apple</option> <option value="1">orange</option> <option value="2">banana</option> <option value="3">tomato</option> </select> 1-how can I select ` <option value="2">banana</option> ` (by passing the value attribute to selector function)then click on it with javascript with out using jquery 2-Is there any way to select this just by passing `apple` to selector function with out passing the value?

Member Avatar
Member Avatar
+0 forum 2

I have a code for countdown timer and it works perfectly fine.. <html> <title>project prelim</title> <head> <script type="text/javascript"> var ss = 10; function countdown() { ss = ss-1; if (ss<0) { window.location="testover.html"; } else { document.getElementById("countdown").innerHTML=ss; window.setTimeout("countdown()", 1000); } } </script> </head> <body onload="countdown()"> <center> <table width="100%" height="600px" style="text-align:center;"> <tr><td valign="center"><h3>Redirecting to testover <h2 id="countdown"></h2></h3></td></tr> </table> </center> </body> </html> Now if I am implementing it in a form which has a button like <form action="batman.php" method="post"> <button id="submit" type="submit" >Submit</button> </form> The code which I have does not do the form submit action. How can I make the form submit …

Member Avatar
Member Avatar
+0 forum 5

Hello. There is a button in the page when i click it, a div will appear or disappear by toggling to the left and right. I want when the page loaded, user can only see the button and have to click to appear the dive. But the problem is that when the page loads, the dive is appeared on the page and user doesn't have to click the button to see the content of the hidden div. What can i do for that? I want the div to stay hidden till user click the button to make it appear, not …

Member Avatar
Member Avatar
+0 forum 9

Hello friends! I want the script when user clicks the Delete botton to delete that post, a confirm message appears and ask if the user is sure to delete that post or not, if the user clicks the cancel button, nothing happen but if clicks the ok button, then the script delete that post. this is the main code: <?php include('connection.php'); try { $sql = "SELECT ID, Title, Author, Content FROM Posts"; $result = $conn->query($sql); echo "<h4>LOGGED IN AS: " . $_SESSION["Username"] . "</h4>"; echo "<p id='err_msg'></p>"; echo "<table cellspacing='0' cellpadding='20' border='1px solid black' border-collapse='collapse'>"; echo "<tr><th> POST ID </th><th> …

Member Avatar
Member Avatar
+0 forum 2

Hi everybody. I have a page with some post's title in it. I have put every title in an <a> tag. I want to click on each title and enter into an other page (single-post-page.php) to see the content of that post's title. The script of that page (single-post-page.php) should get that post's id when i click on the title's link to send it to the db and get that post's content to echo on the page. But my problem is that how i can send post's id to that (single-post-page.php) page by clicking on each title's link?

Member Avatar
Member Avatar
+0 forum 6

Javacript novice here, I've been trying to learn how to remove this annoying error I always get on Nike.com I tried to remove it through adblock which I can't The only way to remove this error is click the 'OK' button. heres the script for the "OK" button <button class="notification-button nsg-button nsg-grad--nike-orange" data-index="0">OK</button> what script can have this button click every single time this button appears?

Member Avatar
Member Avatar
+0 forum 1

I put my vb6 exe program on flash drives of my students. Some of them say that it does not open. (Others have no problem and can left click). I told them to right click and "Run As Administrator". My program then opens. They are using school computers in a computer lab with windows 7. What is interesting is that #1 They are not administrators, #2 They do not have to enter any password. My question is: if that is the case, then why must they right click and Run As Aministrator? More important to me , is how can …

Member Avatar
Member Avatar
+0 forum 6

Hi, guys. Im having this weird thing where the buttons not responding to clicks handled by jquery. i got a page which lists events then when an event names is clicked a table of guest list appears next to it. like this: ![cf2669fd96869baa104ebf595b1f206c](/attachments/large/4/cf2669fd96869baa104ebf595b1f206c.jpg "cf2669fd96869baa104ebf595b1f206c") the page is handled by ajax: <script language="javascript" type="text/javascript"> $(document).ready(function(){ function getsum(str) { if (window.XMLHttpRequest) { // Create the object for browsers xmlhttp=new XMLHttpRequest(); } else { // Create the object for browser versions prior to IE 7 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { // if server is ready with the response if (xmlhttp.readyState==4) { // if …

Member Avatar
Member Avatar
+0 forum 4

Hi. i am trying to show a hidden element using a button. but i want to make it so that everytime the button is clicked the hidden element get shown that same amount as button clicked. example: <input type="button" value="Click me" id="clickme"> <input type="text" id="textbox"> <script> $(document).ready(function() { var element = $("#textbox").hide(); var count = 0; $("#clickme").on("click", function() { count++;//count button clicked var elem = element.clone(); //then the element will be cloned same amount as button click, stuck here }); }); </script> well I'm stuck there. is the approach wrong? do i use a loop or something? TIA

Member Avatar
Member Avatar
+0 forum 2

hello. so to keep it short and simple. I have a button "Cloned" and an <img>. The problem is that the image gets double cloned on the second, third and so on when Cloned button is clicked. Like on the first click image gets cloned and displayed once, on the second click 2 of the image gets displayed instead of one which would now equal to having 3 of the image. On the third click 4 of the image is cloned instead of 1 so now i have alot of the images on just 3 clicks. it is my cloning …

Member Avatar
Member Avatar
+0 forum 2

hey guys so i have an issue with my enable disable function which i just realized a few minutes ago. easier to explain with a screenshot: ![08c804f5fc7f9af5f870d8cf5a7cc3fa](/attachments/small/4/08c804f5fc7f9af5f870d8cf5a7cc3fa.jpg "align-right") so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, great! but say i decided i dont want to delete one of the names so i uncheck the checkbox of the name i dont want to delete but then the delete button is disabled because of click. how to modify the code : <script type="text/javascript"> var chck = $(".chck"), bttn …

Member Avatar
Member Avatar
+0 forum 5

I have 8 ajax tabcontainers in my page.On the top of the page I have one button "Collapse All".When I click on the button all the tabcontainers should be collapsed. Please help me how to achieve this functionality.

Member Avatar
Member Avatar
+0 forum 1

PTC stands for paid to click. Its so easy to work with ptc sites. With proper strategy, you can earn huge passive income with little effort. All you need is 15 10 to 15 minutes daily by clicking on advertisements. You should register free with at least 5 to 6 legit ptc programs and start earning by clicking available ads.

Member Avatar
Member Avatar
+0 forum 3

I'm trying to set up a timer that counts up to ten and starts/resets when the left mouse button is clicked (anywhere on the screen even when the application is in the background). I'm struggling to find a code that suggests it is possible and now I am starting to wonder even if it is possible in VB? Any help would be much appriciated. Thank you.

Member Avatar
Member Avatar
+0 forum 5

Does anyone know of an easy way to have an image switch to another image when the cursor hovers over a completely separate image? [Here](http://lonnyfoster.com/temp/daniweb/replace_image.png) is a diagram that hopefully illustrates more clearly what I'm trying to say.

Member Avatar
Member Avatar
+0 forum 7

<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style type="text/css"> .bs-example{ margin: 20px; } </style> </head> <body> <div class="bs-example"> <!-- Button HTML (to Trigger Modal) --> <a href="#myModal" class="btn btn-lg btn-primary" data-toggle="modal">Login</a> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <div class="form-feedback" style="display:none;">Login Success</div> <form id ="employer_login"> <div class="form-group"> <label for="inputEmail">Email</label> <input type="text" class="form-control" id="inputEmail" placeholder="Email"> </div> <div class="form-group"> <label for="inputPassword">Password</label> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> </div> <div class="checkbox"> <label><input type="checkbox"> Remember me</label> </div> <input type="submit" name="submit" /> </form> </div> </div> </div> </div> </div> <!--//// Modal HTML --> <script> $(function() { …

Member Avatar
Member Avatar
+0 forum 2

Well, I am new here and i would be thank full of yours, please make a discussion for How do eclickz drive their pay per click advertising service for a business.

Member Avatar
+0 forum 0

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, false, false); fixed.requestFocus(); However when I want to visual distinguish a right click from any other click. Usually a cell with focus looks like this: with the blue thick border around the selected cell, as well as the blue background around everything in that row ![e6ef5c487a6756ad3c6856868a02f596](/attachments/small/3/e6ef5c487a6756ad3c6856868a02f596.png "align-left") How do I …

Member Avatar
Member Avatar
+0 forum 1

hello i have create some webpages they work and are nice but when i click in contat form which contain php code inside it display all code which are inside.

Member Avatar
Member Avatar
+0 forum 13

Heelloooo good day. Thanks for seeking to help. I am creating a Java program(obviously). At the end of my work I wish to install it as (a)an .exe file. However I wish that after its installation, file type association would have been setup automatically(I phrased that latter part of the statement like that, because I'm not sure if file association can be coded, or if it must be accomplished via other tools). I have ruled out JWS(Java Web Start) though. SO once again: 1. Program must be a(an) .exe file. 2. And the installation process should seamslessly create the file …

Member Avatar
Member Avatar
+0 forum 6

Hi my name is vishal. For the past 1 week i been in the process of creating a dashboard using listview in c# windows forms with sql server 2008. I created listview named lstDashItems and populate it from a table named USERACTIVITIES in sql server 2008. The design of USERACTIVITIES table in sql server 2008. Column Name Data Type Allow Nulls user_id int yes row_upd_date datetime yes activity varchar(50) yes type int yes ref_id numeric(18,0) yes I have created a method in MdiParent Form named updateUserActivities() Given below is the code in my MdiParent Form of Method/function updateUserActivities: public void …

Member Avatar
Member Avatar
+0 forum 2

how to show data on different sections on click a link without anchor tag in html without using js,css or php

Member Avatar
Member Avatar
-1 forum 2

Hi guys, so i've had my Logitech G500 gaming mouse for about a year now and have encountered an issue. Earlier this year the right click button messed up so that when i aimed down sights in a came it would constantly go in and out as if i were spamming the button. I have researched this issue and found that it seams to be a fault in the mouse's design. What can i do about this due to the amount of time that i have had this mouse? thanks.

Member Avatar
Member Avatar
+0 forum 1

Hello guys, I am writing a Greasmonkey script and I need little help here. So I have this code: $(document).ready (get); function get () { var elems =$( "a[id*='myId.']" ); if (elems.length>0) { $("a[id*='myId.']").trigger("click"); } } the point is that there are a lot of a tags with id myId.N where N is different number. But that click just doesn't work. Any ideas? Regards, Fr3aK

Member Avatar
Member Avatar
+0 forum 3

Pay Per Click Advertisment is very some work and tedious work, but you can without invest have not neet any skill. So You cant strart your earn immedeately. You have need only PC and network. It will be kept as a pertime job. Highly it will be took 1 hour per day.

Member Avatar
Member Avatar
-1 forum 2

Hello! I would like to create a clickable backround for my IPB forum board. It will act as a banner and when clicked, it will redirect to the advertiser webpage. Here's the AdOcean demo of what I would like to create: http://demo.adocean-global.com/main.php?x=BI&y=Background%20Image Please, give any advice on how to implement such function on IPB board. Thanks in advance!

Member Avatar
Member Avatar
+0 forum 2

My button uses the following. It produces a random post within my blog whenever a user clicks it. <div id="myLuckyPost" class="random button"></div><script type="text/javascript"> function showLucky(root){ var feed = root.feed; var entries = feed.entry || []; var entry = feed.entry[0]; for (var j = 0; j < entry.link.length; ++j){if (entry.link[j].rel == 'alternate'){window.location = entry.link[j].href;}}} function fetchLuck(luck){ script = document.createElement('script'); script.src = '/feeds/posts/summary?start-index='+luck+'&max-results=1&alt=json-in-script&callback=showLucky'; script.type = 'text/javascript'; document.getElementsByTagName('head')[0].appendChild(script); } function feelingLucky(root){ var feed = root.feed; var total = parseInt(feed.openSearch$totalResults.$t,10); var luckyNumber = Math.floor(Math.random()*total);luckyNumber++; a = document.createElement('a'); a.href = '#random'; a.rel = luckyNumber; a.onclick = function(){fetchLuck(this.rel);}; a.innerHTML = '<center><span id="icon-random"></span></center><span class="visible-lg">Random</span>'; document.getElementById('myLuckyPost').appendChild(a); } </script> …

Member Avatar
Member Avatar
+0 forum 8

Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have idea.. Thanks in advance, Developer

Member Avatar
Member Avatar
+0 forum 11

hey i want to create two *buttons* namely** submit** and **update** button in one page,but i need to knw wheather both the actions of the button can be performed in the same page or in diffrent page,if it is to be performed in diffrent page,how do i do it??

Member Avatar
Member Avatar
+0 forum 3

The End.