31 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Habib_7

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 …

Member Avatar for phoenix254
0
312
Member Avatar for Niloofar24

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 …

Member Avatar for lps
0
485
Member Avatar for Niloofar24

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 …

Member Avatar for Niloofar24
0
4K
Member Avatar for Niloofar24

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 …

Member Avatar for Niloofar24
0
2K
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
447
Member Avatar for nadiam

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, …

Member Avatar for nadiam
0
474
Member Avatar for Nshark

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 …

Member Avatar for dionterry
0
5K
Member Avatar for CoilFyzx

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, …

Member Avatar for mKorbel
0
670
Member Avatar for Fr3aK

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 …

Member Avatar for M.Waqas Aslam
0
239
Member Avatar for ZeroZen

Hey Folks I've created a template and storyboard that applies to all buttons in my application. When you click the button, it drops to the right and down a bit, then snaps back up. The problem is, when I handle the click in code, it executes before (or during?) the …

Member Avatar for ZeroZen
0
605
Member Avatar for joshl_1995

Hello Community, I'm trying to dynamically add a menuitem to my context menu and add a click handler but for some reason it won't add the handler what did a do wrong? Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each Line In RichTextBox1.Lines Dim NewItem As …

Member Avatar for ghincelino
0
267
Member Avatar for AARTI SHRIVAS

is it possible in php java scrip and jquery that we give a condition and redirect page to another pages on depending on those condition like if($id==1) { header(location:page1.php); } else { header(location:page2.php); } the value of id comes from database. something like that using jc jquery enything please help …

Member Avatar for AARTI SHRIVAS
0
307
Member Avatar for romz

hi everyone. I want to delay the click event in a vsFlexgrid so that the double click event will run 1st. I used a timer for the delay in the click event and managed to get the value of the double click speed in the windows library for the timer …

Member Avatar for romz
0
1K
Member Avatar for MMadhavi

I want to show google map of selected theatre. first user have to select city then they have to choose theatre as per selected city. i have used drop down box for both. then, after selecting theatre, when he clicks on show button i want to show google map of …

Member Avatar for MMadhavi
0
1K
Member Avatar for boher

In my project, I have two seperate forms and in one of them I can add various panels using a button. After adding let's say 5 panels I click on one of them and I need the code to tell me which panelI clicked on. The reason I need this …

Member Avatar for Pgmer
0
661
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I have yet another question for you to ponder. I have two custom action listers. One that handles Mouse.Click and one that handles Mouse.MouseDown. My question to you is, can I delay the mouse down event so that it does not intefere with the code of …

Member Avatar for Begginnerdev
0
5K
Member Avatar for natehome

ive been working on this script as a project, and when i run it and click on the button to sleep(its going to be an rpg game) it loops and sends the command a bunch of times through the function. [CODE] import sys, random, time, pygame from pygame.locals import * …

Member Avatar for ret801
0
242
Member Avatar for Jollyyy100

Hi All, I wanted to know if its possible to create a right click function in vb.net MDI form. Example the way we right click on any program it gives us a list of options, is it possible to do it in vb.net and how? Need help, thank you.

Member Avatar for Jollyyy100
0
154
Member Avatar for smepperson

Hi Everyone, It has been some time since I've posted here but I am truly having trouble seeing the forest for the trees so to speak. I have changed my code so many times I missed the time it worked because I want it to do more. Upon Exit btn …

Member Avatar for smepperson
0
1K
Member Avatar for Andy90

I want to make an application in vb.net which will allow user to use mouse in a different way. i.e Dwell Clicking. Suppose user moves mouse pointer at particular location and if the user doesnt move the mouse pointer from that location for 2 seconds then single click will be …

Member Avatar for Unhnd_Exception
0
216
Member Avatar for kipslem

Hello, Could someone help me with this one? I have developed a small application. It has a MDIParent form on which the other childforms are displayed. I have a Panel on the MDIParent on which there are buttons to call up the MDIChild forms. Now my issue is, when anyone …

Member Avatar for kipslem
0
691
Member Avatar for TwijoO

As the title says i am trying to click this button... [URL="http://gyazo.com/5776f257d554f0b590944bc6474e1db3.png"]Pic[/URL] (The save one) on this webpage... [url]http://upload.youtube.com/my_videos_upload?restrict=html_form[/url] I have been trying various permutatuons of this [CODE]Dim j As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("BUTTON") For Each elem As HtmlElement In i elem.InvokeMember("click") Next[/CODE] With little luck, i also tried to find …

Member Avatar for smsmcp
0
2K
Member Avatar for Roldy

Is it possible to change the event of a button click within different subs? For example, have the button take me to the main menu in one sub, but in another sub have the same button take me somewhere else.

Member Avatar for AndreRet
0
203
Member Avatar for Hawkeye Python

Hi! I don't know much about Java and I'm new to JQuery. I want to replace "+ Table" for "- Table" when the user clicks on it. For that I've used: [CODE]$(document).ready(function () { $('#table1_head').click(function () { $('#button1 a').replaceWith('- Table1'); }); });[/CODE] It worked. But I want to replace "- …

Member Avatar for Hawkeye Python
0
190
Member Avatar for Matthew N.

Hello, I have a JavaScript calculator, here is the code:[CODE]<script type="text/javascript"> var num1=prompt('Enter your first number',""); var num2=prompt('Enter your second number',""); var problem=prompt('Enter the operator you wish to use..x,X,+,-,/ are valid..',""); if (problem=="+") { alert("The anwser to your equasion is "num1+num2); } else if (problem=="-") { alert("The answer to your …

Member Avatar for rbsntl
0
996
Member Avatar for Kniggles

anyone know how to make the colour text box w2 change to a random colour when button clicked please ? [CODE] </html> <FORM NAME = frmOne> StartA X: <INPUT TYPE = Text NAME = x SIZE = 5 value ="0"> Two B Y: <INPUT TYPE = Text NAME = y …

Member Avatar for ko ko
0
192
Member Avatar for buster2209

I want to be able to double left click my mouse on an entry in a populated listview window and pass that variable (as a string) to a textbox. Can anyone give me some sample code?

Member Avatar for Geekitygeek
0
134
Member Avatar for morelve

I want to make a native win32 program that simply moves the cursor to x=100 y=200 on the screen, and then clicks the left mouse button once. Where do I start? For once, Google got me nowhere. I use VC++ 2010 to compile.

Member Avatar for Adak
0
3K
Member Avatar for FirstTimeUser

Recently I got my computer reformatted, however yesterday my mouse began to act strange. It wouldn't click on things in firefox, or on the desktop at certain points. In order to be able to click anything, I have to minimize the window and restore it. I am not sure whether …

Member Avatar for FirstTimeUser
0
138
Member Avatar for Ulukay

I got a button array of 40 buttons And i handle all the button events in 1 sub . But i need to know what button is pressed. Can someone help me ? [CODE] Private bttonArray(41) As Button Public Sub Hoofdscherm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Member Avatar for morke
0
549

The End.