I create two table. 1 is key in mailing address like mailing street , city and etc. Another table is shipping address and the field is almost same with mailing address. Sometimes, the shipping address is same as the mailing address. How can i just create a radio button and when click it will copy the same think from mailing address to sh...
In my following code, I am calling function "Make Request" that is located in a separate .js file. But the control is not reaching to this function. I have also added the link to the related file.
<link rel="section" href="../Lib/ajaxhandler.js" type="text/javascript">
<td oncontrolselect="MakeRequest('inCategory','SELECT * FROM electi...
Any methods to submit a POST request from a link if JS is disabled?
Ideeas so far (none of them perfect)
Use <input type='submit>, but I need a link not a button
Use <a href='' onclick='form.submit()' > but that relies on JS
Use <input type='image'> ... again .. not really a link
I need a fallback method for browsers without JS, ...
When you render:
<input type="file" />
you get a box and a button, right? (At least in Firefox and IE.)
in IE how you can tab to (focus) both the box and the button or only button.
...
Given this:
<a class="details" href="#">more…</a>
...
<input type="submit" value="Gogogo">
Say that both should have very similar appearance, because that's what the designer wants. Do you do this:
<a class="fancybutton" ...
<input class="fancybutton" ...
.fancybutton { /* ... */ }
or this?
a.details, .someform input[type=...
How can i change the field size diynamicaly?
I have a select field and there are 3 options with different values.
So if the user selects one of them in the you see the values.
But how can i change the size that the values from option field fits in the
function changeText()
{
var select = document.get...
I have a horizontal menu bar made up of <li> tags, containing links, so a menu item looks something like:
<li>
<a href="...link...">
<span>Some text</span>
</a>
</li>
Looks fine, until the menu bar is wider than the screen. When this happens, and the last menu item has one or more words, the second word of this item wraps just und...
If I have something like this:
<p>Element<p>
<iframe src = "otherPage.html" style = "width:100%;height:100%">
</iframe>
The iframe runs off the page. For various reasons, I can't specify an absolute height. What is the proper CSS way to make an element use the remaining height of its container element? A quick google search claimed th...
I am creating a classifieds website called 'mySite', and I want whoever searches for
honda +mySite in google, to find all ads with the description 'honda' or headline 'honda' from my database.
How is this done? (a htm page for every ad? which then loads the 'ad data' when user clicks to open the htm page?)
I have an example for yo...
I'm trying to find all labels with an id and text, but my regex doesn't seem to work:
With the following regex:
<asp:[a-z]+.*? ID="(?<id>.*?)".*? Text="(?<text>.*?)".*?/>
and the following sample text:
<asp:Label ID="SomeID" Text="SomeText" />
<asp:Label Text="SomeText" />
<asp:Label ID="SomeID" />
<asp:Label ID="SomeOtherID" Tex...
I've been working with Modernizr and it is a wonderful resource, just a great project. However, the way I've been using it is:
Design with baseline (IE) CSS
Enhance with CSS3 effects for advanced browsers
Unless I was going to completely replace the styles based on behavior, why shouldn't I just add styles such as box shadows, gradi...
Hey guys!
I'm looking to make a page wherein a user will make a selection for eg: "How old is your computer?" - "One year", "Two years" etc etc and the page will remove and add 'options' (which at the moment only need to be informative sections of text)
Is there any way to do something like that?
The technologies I'm using are PHP and...
I have an array of 2000 items, that I need to display in html - each of the items is placed into a div. Now each of the items can have 6 links to click on for further action. Here is how a single item currently looks:
<div class='b'>
<div class='r'>
<span id='l1' onclick='doSomething(itemId, linkId);'>1</span>
<span id='l2' on...
I'm writing an app that, at its heart, uses a hierarchical tree of nodes
in XML, it looks like this:
<node>
<name>Node1</name>
<Attribute1>Something</Attribute1>
<Attribute2>SomethingElse</Attribute2>
<child>Node2</child>
<child>Node4</child>
<child>Node7</child>
</node>
And so on (all child elements must refer to a...
We recently rewrote our company homepage and have come across a peculiar error. We have very few pages that need any code behind them, so we wrote the website in static HTML served out of IIS6. The few pages that need any code (Contact Us, with a contact form, for instance) are .ASPX pages.
The previous version of the website had more...
I'm sure this is very simple, but I'm trying to draw a set of small, empty, inline boxes in HTML like the following:
<span style="border:1px solid black;height=10px;width=17px"></span>
Earlier, did simple .gif images earlier but looked fuzzy as the browsers' displays are scaled up or down.
<span> however being an inline element does ...
I'm using this regex to find <script> tags:
<script (.|\n)*>(.|\n)*?</script>
The problem is, it matches the ENTIRE string below, not just each tag separately:
<script src="crap2.js"></script><script src="crap2.js"></script>
...
I asked a similar question previously, but it was so vague that I couldn't possibly have gotten the answer I wanted.
Basically, I want a user to be able to select from multiple options and have various bits of information appear based on the selections.
For example:
"How old is your computer?"
Options: [x]One Year [ ] Two Years [ ] ...
Hi, I have a table with a colored background and I need to specify the padding between the table and it's content, I.E. cells.
The table tag doesn't seem to accept a padding value.
Firebug shows the table and tbody's layout with padding 0 but doesn't accept any value entered for them, so I guess they just don't have the padding property....
What could affect the location of text outside of <div>...</div>? They are using the same CSS but text appears in 2 locations on 2 different pages.
Here are 2 sample pages:
Homepage link shows in the correct location:
CodeList
Homepage link shows in the wrong location:
Code Assessment
I copied and pasted all the top section html on C...