dhtml Questions

6

How to create a modal popup window with background with gray color using JavaScript and CSS? Can anyone show me an example?
Obbligato asked 7/4, 2009 at 4:6

3

Solved

How to access the value of this input field by its name attribute using Javascript <input type='text' name='hey'> document.querySelectorAll('input[name=hey]').value;
Hug asked 4/5, 2017 at 10:59

3

Solved

In this simple script i get the error "obj.parentNode.getElementById is not a function", and I have no idea, what is wrong. <script type="text/javascript"> function dosomething (obj) { s...
Fanlight asked 10/10, 2010 at 23:38

8

Solved

I am using jquery ui tabs and im adding tabs dynamically using .tabs('add'...). The tabs load a url using ajax. The problem is that everytime i click on another tab then come back... the tab reload...
Novak asked 22/2, 2011 at 0:13

5

Solved

I have seen a few sites now where if you highlight text of an article, copy it, and then paste in they can add more text to it. Try copying and pasting a section of text from an article at http://...
According asked 8/3, 2010 at 10:50

3

Solved

I would like to fill the body of a modal dialog with custom HTML, generated by Javascript. The documentation for this method is mostly empty. I have only found examples for loading an externa...
Craniology asked 21/7, 2014 at 18:8

5

Solved

Say you have some code like this: <html> <head> </head> <body> <div id="parentDiv" onclick="alert('parentDiv');"> <div id="childDiv" onclick="alert('childD...
Impend asked 20/12, 2012 at 6:51

15

Solved

Why does IE not change the background color on my site for tabs a:hover but does so in Firefox/Chrome/Safari correctly? What can I do to make it work in IE 6+? HTML <ul class="tabbernav"> ...
Klenk asked 18/8, 2009 at 1:7

1

Solved

I want the map of India and the list with text for the regions to listen to each other so that when the mouse pointer is hovering above a region then the corresponding region name gets underlined, ...
Hydromechanics asked 6/4, 2015 at 22:20

6

I need to make something fadeIn, then stay there for a second and then fadeOut using JQuery. I've tried this but it dosent work for some reason??? $('#' + uMessage).fadeIn("fast").fadeOut("slow")...
Inevitable asked 7/9, 2010 at 14:44

8

Solved

I'm calling a web service that returns an array of objects in JSON. I want to take those objects and populate a div with HTML. Let's say each object contains a url and a name. If I wanted to gener...
Gallican asked 21/10, 2008 at 2:48

8

Solved

I have about 7 textareas on a web page, all of them are rich text editors using TinyMCE. However at page load only 1 of them is visible and the rest of them hidden. The user can click a 'show' link...
Coworker asked 26/3, 2009 at 10:18

8

Solved

Suppose I have some jQuery code that attaches an event handler to all elements with class .myclass. For example: $(function(){ $(".myclass").click( function() { // do something }); }); ...
Koval asked 31/8, 2009 at 19:29

4

Solved

I have a select list which is being populated using the values from a text field. I also have two buttons: an add button which adds the entered value to the select list and a remove button which re...
Angellaangelle asked 18/5, 2009 at 21:8

4

Solved

In a webpage I am calling a WebService that gives me an integer value. I need to display this value in a block of text. I am currently using an HTML <span>. So far, I've found two methods of...
Creswell asked 24/1, 2011 at 16:45

4

Solved

Reading about both separatedly, looks like the same, html+xml+javascript. What's the difference between then? Is there any?
Helmer asked 18/2, 2011 at 13:55

7

Solved

In IE, I can just call element.click() from JavaScript - how do I accomplish the same task in Firefox? Ideally I'd like to have some JavaScript that would work equally well cross-browser, but if ne...
Mesozoic asked 30/4, 2009 at 21:1

4

Solved

is there any way to catch when the collapse menu appears (or when collapse button is clicked by user) ? i'm using standard bootstrap twitter framework and classes.
Noncooperation asked 17/5, 2012 at 18:42

4

In answering another question I became aware that my Javascript/DOM knowledge had become a bit out of date in that I am still using escape/unescape to encode the contents of URL components whereas ...
Stere asked 6/3, 2009 at 15:51

7

Solved

I have a page where my combo box has hundreds of elements which makes it very hard to pick the one item I want. Is there a good Javascript replacement that would do better than <select id="fiel...
Mating asked 4/11, 2008 at 15:24

5

Is there a way to determine which element submitted a form from within an onsubmit handler? Trying to write a generic handler that knows which element was clicked. For example, given this form: &l...
Irate asked 12/2, 2009 at 15:43

7

I have a canvas element defined statically in the html with a width and height. If I attempt to use JavaScript to resize it dynamically (setting a new width and height - either on the attributes of...
Lavinalavine asked 1/12, 2008 at 14:40

1

Solved

I have mark up that toggles the hover css style using this rule. When there's a checkbox inside the panel I want to remove the background image style. Is this possible? I've tried the following alt...
Magree asked 5/10, 2012 at 13:59

2

Solved

I have a page where the user can dynamically add file upload boxes. Adding the boxes changes the height of the div they are in, but certain elements of the div below it stay in the same place, so t...
Mercier asked 9/11, 2009 at 17:12

2

Solved

I am launching a popup window with window.open(...) and I pass an elementId to the new popup window. Then during startup of the popup window I find the element in the opener window that matches th...
Marino asked 6/7, 2010 at 18:10

© 2022 - 2024 — McMap. All rights reserved.