This is inline code of a .aspx page:-
<table>
<tr>
<td>Some static data</td>
<td>Text box control</td>
<td><div id="div1"></div></td>
</tr>
</table>
Third <td> has a div 'div1'. This div does not have any data most of time on that page. But sometimes i need to display some dynamic data there). Now problem is, if there is no data in...
i am trying to make a text box no editable for the users. I tried using this code and it works. Any ramifications??? I mean do u suggest the use of this code or it may cause trouble for me in future???
<input type="text" name="west" value="fixed value" readonly />
...
Is it possible to set a to add a scroll-bar vertically but clip horizontally?
EDIT I see some mention on CSS3 in answers. Which browsers support this?
...
Im running the nunit-console program to test some assemblies after the build script is run. The TestResult.xml is then copied to a static web server.
Im looking for a tool that could format the xml output into a nice html page that displays the results similar to how the NUnit GUI does it. Im looking for a color coded hierarchal display...
I have a login on the left sidebar of my website. When a user is logged in, the sidebar width doesn't remain the same as it was when the user wasn't logged in.
Is there a way to keep the width the same?
<!-- Start Sidebar -->
<td id="sidebar" valign="top" height="400px" style="width: 200px">
<!-- Login Form ...
Hello all. Just trying to get the hang of using the semantically correct XHTML markup.
Just writing the code for a small navigation item. Where each button has effectivly a title and a descrption. I thought a definition list would therefore be great so i wrote the following
<dl>
<dt>Import images</dt>
<dd>Read in new image nam...
I have a website that looks fine in my resolution and even in the more common 1024 x 768. Yet, in someone else's browser in 1024 x 768, it's too wide and the website doesn't even center correctly.
Is there a way to have a proper width layout that doesn't change when the resolution is changed?
/* Body */
body {
background: #535353;
...
I am simply attempting to get jquery to identify the first letter of a paragraph. How would I do this?
For example, I have a page with a number of paragrahs on a page. I would like only the paragraphs starting with a specified letter to be given the class "current" and all others to be hidden. I pretty much know how to add the class a...
I have a div element with some formatted images. On user request, I load additional images asynchronously, without postback, and append the result (formatted HTML for new images) to the div element using JavaScript:
function onRequestComplete(result) {
var images = document.getElementById('images');
images.InnerHtml += r...
How do you nest quotes in HTML beyond the second level? As far as I know, there are only 2 types of quotes - single(') and double("). I am aware of escaping using slashes - you have to escape in the code but that escaping won't work at the browser level. What is the accepted method to get around something like the following?
<p onc...
Hi
If i have the following code in my html file
<div id=div1>
<script type="text/javascript">
externalFunction();
</script>
Is it possible to get the id of the div in the method externalFunction()?
Regards
Damien
...
I am using TinyMce on my asp.net web site for comment posting.
I want to make sure that the input is safe before I insert it into DB.
The TinyMce does it's own HTML encoding on client side.
In my other question people suggested that encoding should be done on the server side and not on client side.
What can I use on server side to make...
There is a website that my company uses that updates information about 3 specific things throughout the day. We use the information from 1 of them and what we are wanting to do is pull this information as it is added to their site and add it to a page of our own to view easier. Is this even possible? Can anyone point me in the direction ...
$("#autoNames").html(function (index, html) {
var begin = "<script language='javascript' type='text/javascript'> var names = [";
var end = String('];' + '<' + '/' + 'script' + '>');
var result = begin.concat(jsonService, end);
...
Hi all, I know this question gets asked a lot because I have looked at many "solutions" trying to get this to work for me. I can get it to work if I hack up the html but I want to use all CSS. All I want is a header with two columns below it, and I want these three items to fill the entire page/screen, and I want to do it with CSS and ...
I have a link that is somewhat like this:
<a href="------.html#video">Text</a>
It works fine in IE but not in Firefox. In Firefox it shows the new URL on the address bar but doesn't update or change anything in terms of content.
Somehow the "#" is causing Firefox to ignore updating the page. I tried using Javascript "window.location" ...
I am using jquery to sort through multiple paragraphs. Currently I have it set to show only paragraphs that start with a current letter. But now, I would like to consolidate further. If the text between the paragraph tags has multiple instances, I would like all but the first hidden.
This is what I have so far but, it is not working....
I have an html page that is loading multiple iframes into which are embedded dynamic images created from a Tomcat server page (.jsp). This works as expected from Chrome and Firefox, but for some reason IE displays all of the images the same (as the first image). I've created an example:
http://coupondiscounts.com/jsImageTest.html
jsIma...
$sun=$_POST["name"];
print "<ul>";
for(0;0<$sun;$sun++)
{
print "the value is".$sun."<input type="text" name="nam">";
}
print "</ul>";
is it correct............?if it is false ,plz solve correct answer.....
...
I can't seem to figure out this problem. I am trying to get xml to render html tags. The problem I am having using .text() will display but not recognize any html tags. If I use .html() or just call var long2 = $(this).find('long'); nothing will show up in Safari or IE.
I have xml paragraph
I have text in here that needs bold tag...