I have a standard HTML input that I want to run JavaScript code when it loses focus, sadly my Google searches did not reveal how to do this.
To make it clear, I'm looking for a way to do this:
<input type="text" name="name" value="value" onlosefocus="alert(1);"/>
...
I'm trying to achieve a layout in html that looks exactly like this when printed:
Comments: _____________________________________________
_______________________________________________________
...where the underlined portion is a single input tag of some kind meaning it could also be a textarea or something else, as long as the user...
Can anyone point me to some sample code in C# for converting an html table to image? I know how to convert text to image but i need to create an image of well formatted text. The whole text is formatted in html table.
...
Our customers have asked for Sharepoint and, of course, we are having to implement features for which Sharepoint wasn't really designed. We are first trying to stretch the in-house webparts as far as we can, so we are doing a lot of the work in stored procedures, user defined functions, and custom views in the MSSQL DB.
I am generating...
Hi all,
I am developing a website for a friend which was earlier developed by some other guy, basically i am a php pro and dont ve much experience in html (or untill now) ...
now, i am trying to validate my webpage, earlier it was showing 162 errors, i ve brought it down to 1 error (thankyou) ... ha ha
earlier with 162 errors, it was ...
I have a form which is a simple CRUD.
I am trying to display a cool looking success message when user enters or deletes a record. I've seen this a lot around the web.
I am very new to jquery. does anyone know any examples that would show how to do this?
Basically a div that would slowly dim out.
...
I have split up my HTML page using div blocks.
Within one of the div blocks, I have created a table. I want this table's width to expand to all available space.
2 problems:
A) If I set the table's width to 100%, it appears to expand to the size of the entire page, not the div block.
B) Furthermore, it doesn't appear to be clipped by the...
So far I have taught myself HTML by coding in Publisher 97 and using W3-Schools. I have picked up small amounts of CSS and PHP.
What Should I learn after learning HTML?
And what is the best editor for what I'm going to do?(Windows, Linux)
...
I usually prefer linux for programming( i program in django on Ubuntu).
But often i need to design html pages which renders properly in Windows and Linux?
How iam currently doing the above is
Design (Fix) html page in linux
Reboot to windows check whether the
design is proper or not. if not
reboot to linux
repeat step1 ,step...
I'm having some trouble identifying the problem with my html code. I've created a table and it is like this on Internet Explorer (which is the result I'm looking for):
But it comes up like this on Firefox:
...and I don't know how to fix this. Please help, thanks.
...
Basically speaking, FF3 and IE8 render it this way, which is what I want:
http://img4.imageshack.us/img4/3899/cornersfirefox.jpg
However, IE7 and IE8 render it like this:
http://img18.imageshack.us/img18/4526/cornersie.jpg
I use this solution for rounded corners without images:
http://www.editsite.net/blog/rounded_corners.html
An...
can this code snippet be modified to reveal html coding?
<?php $_option = $this->getOption() ?>
<?php echo $this->htmlEscape($_option->getTitle()) ?>
it is showing a title but in that title i have an href:
<a href="http://link" target="otherwindow">link</a>
instead of it appearing as a link it just shows me the code.
i'd like it t...
In my current application i need to copy the content of one table into another... With setting innerHTML it works perfectly in FF... but not in IE8...
Here is the Code i used to copy in FF:
getID("tableA").innerHTML = getID("tableB").innerHTML;
// getID is a custom function i wrote to provide a shorter version of document.getElementByI...
I need to get the element co-ordinates relative to browser window.
How do you get that in javascript ?
...
In my database I have a field wich contains a html document. Now there must be a possibility to search in this document. However, the html tags may not be found. So when I have something like this:
<html>
<head>
<title>Bar</title>
</head>
<body>
<p>
this content my be found
</p>
</body>
</html>
It is possible th...
The reset action is performed by input type="image" and onclick calls a function called resetForm(). When reset is clicked the form submit shouldnt happen.Tried returnin false from resetForm() function and still it doesnt work. Please help me out..
...
Using the following text as a sample, I need to be able to extract text between LI tags. Notice that the first LI is intentionally mal-formed as this may be the case. Said another way, I want everything from an LI tag to either it's closing LI tag or the next LI opening tag.
<UL>
<LI class="test">This is the first ListItem Text.
<...
Hi,
I reference the hidden field like:
var h = document.getElementById('myHiddenField');
How can I set the value to 100, and then output the value using a simple alert();?
...
Other than submit individual web pages for verification on the W3C site, are there any standalone tools that will do this job.
Ideally this would be a visual studio plugin that could catch errors at design time but one that would just take a wep application url running locally would be good.
Open source suggestions would be preferable...
Following my question here I run the suggested Tidy Program which came back with a whole load of errors regarding the tool not recognising ASP tags. Is it possible for a tool to validate ASP.NET pages before compile/delivery via a browser?
...