Hello. I've got an HTML page with a select and another control. I want the type of the second control to dynamically change depending on the value selected in the first control.
Here's the html code:
<form name="myForm">
<select name="tagName"
onChange="changeControl(document.myForm.customControl, document.myForm.tagName.val...
How do I display text for a button without going between the <button></button> tags?
<button id="btnTest" >Need Text in button tag!</button>
...
What are the options for making scrollable list regions in HTML?
So to create listbox-like areas?
Is DIV with overflow:scroll the best approach?
Or is iframe better?
Are there any better newer ways of doing this?
Would like to show region of HTML which updates with a list of objects in response to "push" changes from server using AJ...
I have a set of radio buttons with values like this:
<input type="radio" value="http://www.foo.com/image1.jpg" />
<input type="radio" value="http://www.foo.com/image2.jpg" />
<input type="radio" value="http://www.foo.com/image3.jpg" />
But on submit I'd like it to treat the selected radio as if it were a file input, using the value as...
I have a couple select elements:
<select name="empID" onchange='setSupervisor(this);'>
<option value="111" sid="222">Eric Employee</option>
...
</select>
<select name="supervisorID">
<option value="333">Susie Supervisor</option>
<option value="222">Stan Supervisor</option>
</select>
And a javascript function:
functio...
Hai,
I would like to have a parent category as a mainmenu in horizontal view and child categories as a submenu that corresponds to the mainmenu.
For example,
Parent categories as Apple, Orange and Mango
Sub Category for Apple is apple1, apple2, apple3
Sub Category for Orange is orange1, orange2, orange3
Sub Category for mango is...
The intent is to use an html dialog box as a settings page for a program. In this settings page, the user can create a list of salespeople that can be selected later on from a drop-down box. My goal now, is to add a checkbox that indicates witch salesperson is the default selection in that drop-down list.
Here's what i have so far:
Thi...
hello, how can I rename files and strings in a mapfile in real time on a web application.
thanks for answers
...
Is there any such function to get all form tags?
by form tags I mean all <input>, <select> etc?
Thanks
...
Hi all,
Have stumbled upon what seems to be a bug with how mobile safari renders the cursor when a window.scrollTo() is executed while a user is entering text into a textarea. Have attached source code which illustrates the issue. I'm wondering if anyone has any advice on how I might work around this.
The issue: If a user is enterin...
I have a webpage where I put a text into a "pre" tag that is inside a "div" that resizes with the window size. If the "div" is so small that the text in the "pre" overflows horizontally, I want the text to wrap at a word break.
Here is the html that demonstrates the problem:
<html>
<head>
<script type='text/javascript' src='http://ajax...
I am working on our new corporate website. I took over for someone else. I just resized the IE8 window to make it smaller and the left side of my page is cut off. I get a scroll bar at the bottom of the window, but it won't let me see part of the left side of the page. There's nothing weird about the site. It's html with some javasc...
I need to access two attributes I've assigned to my row in code-behind.
userId and eventId
here is what I have.. and have tried.
function ExportToPbuse()
{
var rowCount = GeneralReport.rows.length;
for (var i = 0; i < rowCount; i++) {
var userId= GeneralTbl.tbodies.row[i]$(this).attr("userid")
var eventId= Gen...
when you visit http://www.daniweb.com you get a popup window, what is this called + any idea how to do it?
Thank you for your reply, what is the simplest way to do have a modal loading animation only i.e. when page loads that animations shows and when done the animation goes? ASP.NET/Ajax
...
To those jQuery experts out there. I have the following markup and code:
<html>
<head>
<title>Test Framework</title>
<script src="js/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.nav').click(function(e) {
e.PreventDefault();
var id = $(this).at...
So - I've been using this method of file uploading for a bit, but it seems that Google Gears has poor support for the newer browsers that implement the HTML5 specs. I've heard the word deprecated floating around a few channels, so I'm looking for a replacement that can accomplish the following tasks, and support the new browsers. I can...
I'm searching through some database search results on a website & trying to highlight the term in the returned results that matches the searched term. Below is what I have so far (in php):
$highlight = trim($highlight);
if(preg_match('|\b(' . $highlight . ')\b|i', $str_content))
{
$str_content = preg_replace('|\b(' . $highlight. ')(...
Is it an acceptable practice to have multiple HTML forms on a page with input fields that share the same name attribute? For example, the page contains a listing of all players and users are allowed to vote for the best player so next to each player card there is this form:
<form class="vote-for-player" enctype="application/x-www-form-u...
I want to make an HTML/Javascript web app. Is there a website where I can compare what webrowser already support the HTML 5 tags? And WebGL?
...
The styles:
h2 {
color: #71D0FF;
font-size: 11px;
font-weight: bold;
margin: 0px 0px 5px 0px;
}
a.box {
color: #FFFFFF !important;
cursor: pointer;
display: block;
padding: 10px;
text-align: justify;
}
a.box:hover {
background-color: #0C0C0C;
}
a.box span.down {
display: block;
color: #D04...