html

Extra space at the end of a Telerik RadGrid

I have a Telerik RadGrid on my aspx web page. I notice that when I run my web application I get an extra space at the end as the below picture illustrates. I'm not sure why this shows up, I checked the markup and there is no extra column, hidden or otherwise, after the last column with the Drop link. I also looked at the RadGrid prope...

iphone html css tutorials

I am trying to find some good introductory short tutorials that show how to build web site suitable for iphone brwoser. I am not having any success. Google is not turning up useful sites. please let me know if you are aware of any. thanks ...

Is there a way in javascript/jQuery to perminantly store data?

Is there? I don't know. I've been hitting my head against a brick wall with ways to possibly do this without using a server-side language. So far my code runs well locally as well as on a server - I'd rather not have to use a server-side language. Well, there's the challenge. First one with a correct answer wins.... uh... points. (Oh,...

Form submitting multiple files not retaining data.

Ok so i have a html form, 10 files get uploaded. 6 images and 4 pdf. some of theses files are required others not. My problem is when my script verifys the data and retuns to the user that he/she has errors all the file inputs are come back as blank... and if the user re-submitts... the files are not saved. This form has other fields o...

capturing ajax requests

I want to capture an ajax http request w/ all of its headers/cookies/post params being sent to save it so I can scrape it later. I can't find a good way of doing this with firefox or chrome. Firebug truncates long post paramters saying "... Firebug request size limit has been reached by Firebug. ... " in the middle of it, which doesn't...

How to automatically replace all special characters with HTML equivalents?

I have an html document that contains hundreds of special chracters (such as em dashes, smart apostrophes, accent egrave, etc) that I would like to convert to their html equivalents. For example, my document contains an "em dash" (—), which I would like to convert to: — Of course, my html document contains html tags. I do not...

input value to be different from what is sent to POST

So the convention of using input type submit is this <input type='submit' value='Submit'> this will give me a button that says "Submit" on it and inside the post array i will have $_POST['submit'] = 'Submit' is it possible to have the submit button to show Submit but have the post value to be different. In other words, I want a but...

how to get a default value from a checkbox element?

my code: <INPUT TYPE="checkbox" NAME="cb" value="1"> after submit form,i can get cb==1 ,if cb element is checked, i want to get cb==0,if cb element do not to be checked,how to implement it? BTW: can't change receive page,like: if(cb==null)cb=0;// no no no.. i want implement it at web front client. i tried like this: <INPUT TYPE...

Need html Validator with little to no dependencies

I am attempting to install an HTML validator on a secure server with no Internet access. I tried to install the W3 validator, but that had many perl dependencies that in turn had more perl dependencies that it was proving rather difficult to download them all then transfer them to the server and install them manually. I need a validator...

jquery hover/change css property help

Hi, I'm new to jQuery and I'm looking for a simple script (or maybe there's a simpler method) where if a user hovers over an element, another element's css property changes. For example, hover over this image and "border-bottom" on another element changes color or something, etc. thanks ...

How do I make my sub-links/text horizontal when being diplayed?

Hello, I have a nav bar with a drop down that is working beautifully. The only thing I am trying to change, is when you hover over the main links, the sub-links/text are on top of eachother. I want them to display horizontally. I have tried all sorts of floats and display inline etc... Here is a portion of the HTML: <ul id="top_main_na...

Using CSS to Create Vertically Oriented Table

Our project needs to have a "table" with headers on the left hand side, at the beginning of each row, and then each object will be added to a column in the "table" We also are trying to keep the project AJAXy, so we need to have edit in place functionality for this grid. We're using ASP.NET MVC 2, so I've been using PartialViews to repl...

PHP HTML DomDocument getElementById problems

A little new to PHP parsing here, but I can't seem to get PHP's DomDocument to return what is clearly an identifiable node. The HTML loaded will come from the 'net so can't necessarily guarantee XML compliance, but I try the following: <?php header("Content-Type: text/plain"); $html = '<html><body>Hello <b id="bid">World</b>.</body></...

jQuery 1.4.2 resizable div stops working once it fits in browser window

Hi all, I have a 'toolbar' div that I made resizable via jQuery UI. The weird thing is, I cannot drag the div unless the div is so long it extends past the viewable page, making the scrollbars appear. I can then drag the div anywhere I like. However, if I drag the div so it fits in the page without scrollbars, and I drop, I cannot resi...

Html values from mysql don't return correctly

I've tried addslashes, mysql_escape_string, and mysql_real-escape_string. None of them are working and I'm not sure what else to try ...

Binding events to not yet created DOM elements (jquery)

How do I bind events to html elements that don't exist at the time of the script loading? One part of my script adds these to the DOM: <a class="btn-remove-item" href="">link</a> The problem is I can't just do: $(document).ready(function(){ $(".btn-remove-item").click(function(){ this.parentNode.removeChild(this); }...

Find nested HTML form on an Asp.net page

I have a nested form in an asp.net page. This nested form is a login/password which I will pass over to another application. I need to submit the nested form using javascipt. However I am having trouble getting a reference to the nested form. // this is not working for me: document.forms[1]submit(); The nested form is a plain html fo...

How to express a page break semantically correct in HTML?

Hello, I'm editing books/articles in HTML. These texts were printed once and I scan them, convert them into an intermediate XML-Format and then I transform them into HTML (by XSLT). Because some of those texts are extinct from the market today and are only available through the major libraries I want to publish them in a way so that peo...

How to create a HTML container which will fill all available width between two floating elements?

Here is a schema of what I want to render, and as simple as it seems I can't find a way to code the container between the two floating elements...: ---------- ---------- | | Some text text text text text text text text | | | | text (in a <p> element). ...

Adjust width of input field to its input

<html> <head> </head> <body> <input type="text" value="1" style="min-width:1px;" /> </body> </html> This is my code and it is not working. Is there any other way in HTML, JavaScript, PHP or CSS to set minimum width? Clarification by Marcel: The OP wants a text input field with a dynamically changing width, so that the inpu...