html

Weird padding change for custom-height input[type=button] in IE6/FF3

I stumbled upon the weirdest behavior in IE6/FF3 when setting custom height (even if it's the same as default) on a button. The following code should demonstrate that while the two buttons are of same height, their padding is different for some implicit reason and cannot be controlled in any fathomable way: <!DOCTYPE html PUBLIC "...

how to refer a textbox inside body of html page in a javascript if textbox is not part of any form?

i have coded a header file which contains a input textbox for search.this header is include in body tag of a jsp page as shown below. <body> <include src="header.ssi"> <form> </form> onclick of button i header file i am running a javascript function. i need to refer to this textbox in javascript function. ...

JS exception in a JSP running on WebSphere 6.1

Hi All, I have popup searcher in my application which lists the available record as hyperlink. Onclick of these links we are populating a textbox with the value. The popup is opened using window.open method. The hyperlinks in the searcher looks like this: When I invoke the searcher with IE's debugging enabled I am getting an error at...

Post Multiple Values with Single Checkbox Selection

In our system, we need to pass along a pair of IDs for each checkbox selected (essentially an ordered pair). We are using a simple list of checkboxes via a CheckBoxList in ASP.NET. Is there an elegant way to do this? ...

HTML Element, Custom Client Event

I have a composite control which emits HTML that looks like this <span id="myControl"> <select id="myControl_select"> <option value=""></option> <option value="1">Item 1</option> <option value="2">Item 2</option> </select> </span> I would like the parent span control to fire an event when the contained drop dow...

[jquery] append data loaded problem

Hello, My html is like this <div id="rsContainer"> <table id="rsTable"><!-- DATA HERE --></table> </div> and my javascript is like this $('#UpdateAll').click(function() { $('#status').fadeIn('500').text('Loading... This may take a while.'); $.ajax({ type: 'post', url: 'func.php', data: 'action=updat...

How to capture a form element and use dynamically in the post url?

I'm trying to build a form which submits a URL which contains a lon/lat that has been passed over from Google Maps. I have managed to get it so the lon/lat is passed into input fields in the form, how would I go about using these values dynamically in the post URL, i.e.: action="search.asp?[lon][lat] ...

Is it possible to find out which page the user was previously browsing?

Is it possible to find out which page the user was previously browsing from current web page? ...

Firefox 3.5 duplicating code

I have an issue that seems to be appearing in Firefox 3.5.2. When i view the page it looks find but then a click on one of the links on the page then return to the page either using the back button or clicking a link on the following page that returns to the first page. (if that makes any sense). I use firebug when i return to the first...

IE6 breaks cached design

I have a design which loads nicely in IE6, but as soon as I reload it 1-2 times, it all of a sudden collapses. When I upload an updated version, it recovers from it, and breaks after a few reloads. On a sidenote: I can't test the site on a "real" IE6, I'm using the IEtester found here: IE Tester Maybe it's a problem with this program? ...

jQuery help - find textbox relevant to current element

Here is my HTML <tr> <td colspan="2" class="borderBottomCell"> <div class="benefitInfo" style="WIDTH: 99%! important;"> <asp:DropDownList runat="server" ID="ddlbc1" /> <asp:Label runat="server" ID="lblbc1" /> ...

jQuery html() and &amp;

I'm doing a search within list of people. And I want it to show results on the fly and so it does. But there is one link that I need and it should look like this: chatid=18&userid=45&create=new but after the results are displayed through this: $.get('/ajax.php', {sec: 'search_users', ajax: 1, search_for: $(this).val()}, function(data...

Cause <DIV> contents to spread out?

Imagine I have a navigation bar in my page header, with a number of links. I'd like the links to spread out horizontally to fill the parent ; is there a way to do this using CSS which doesn't rely on me hard-coding based on the number of links? e.g if I add or remove a link I'd like it to still work. I tried: <div class="navBar"> <...

How do I position a html table at the very top of the screen?

Using html and css for IE7, how do I position a html table at the very top of the screen without the top border that is automatically generated? I am developing in vs2008. ...

Is IxEdit worth ?

I am intrigued by IxEdit and its full-javascript approach that should allow to build nice web pages powered by JQuery effects. I like also the opportunity to use it on many platforms. But, is it worth a try ? Is it complete ? Has it compatibility issues ? Are there better alternative tools ? ...

Selecting a default value in a <select> statement in a XSL file

Hi, I have a list of items like how its listed below, and I'm trying to get that option selected by default which has a certain tag within the "listing" tag. <select> <xsl:attribute name="name"><xsl:value-of select="@id"/>_type</xsl:attribute> <option><xsl:attribute name="value"><xsl:if test="listing/Chat"><xsl:attribute name="selecte...

How do I create a website using HTML?

I have recently learned how to write HTML pages on a standalone computer, with all the references given to the directories in the local drives. How, then, can I do the following: Create a website, using HTML. I know I'll be able to create its look, but I don't know what should be given as the reference address (URL) if there is a hyp...

Padding the top and the bottom of inline element

Hello Quote from Head first html: You can add padding to the top and bottom of inline element, but the padding doesn’t affect the spacing of the other inline elements around it, so the padding will overlap other inline elements a) As far as I understand the above quote, adding padding to the top and bottom of inline element does...

css/php: how to solve this div float problem / odd even loop in array

My code is at the end of this post. How on earth do i get "box 3" to aligh next to "box 1" OR to the content inside "box 1" instead of aligning itself at the end of "box 2". The important thing here is that all four boxes MUST use the same style - (style 2) as it's being used in an called by an array. Here is what it is now and what i...

Remove any spaces while typing into a textbox on a web page

How could I, on the fly, remove spaces entered into a textbox while the person is typing? ...