hi
i was wondering if their is a program out there that checks to see if i have a beggining an end tag for each html markup item. i use dreamweaver cs3 and when something is wrong with the markup a tag changes color but its not alway acurate. i was wondering if there was someway i can have the beginning and end tags put into a tree view...
ok, so I have a popup search box that is shown when the user mouses over a hyperlink, when the user mouses out of the search box, the box disappears. this all works fine. When the textbox has focus, the search box is supposed to stay visible until the textbox loses focus, at which time the box will hide if the cursor is not over the b...
Is there a way to find the selected text in an HTML document if the text may be within one of its frames (or iframes)?
If the document has no frames it's simple:
var text;
if (document.getSelection) {
// Firefox and friends
text = document.getSelection();
} else if (document.selection) {
// IE
text = document.selection.createRange...
The following practice is fairly commonplace in the inline JavaScript I have to work with:
<script type="text/javascript">
<!--
// Code goes here
//-->
</script>
I know that the point is to prevent browsers that are incompatible with JavaScript from rendering the source, but is this still a best practice today? The vast m...
Hi,
I am using asp.net and i would like to define the elements of a dataset in my html code.
The problem is when i attempt to use:
<%@Using namespace="System.Data" %>
this is giving me an error
also
I am using
foreach (DataRow row in ds.Tables[0].Rows)
{.....}
DataSet ds is obtained from an sql query. I don't believe...
First, the background:
I'm working in Tapestry 4, so the HTML for any given page is stitched together from various bits and pieces of HTML scattered throughout the application. For the component I'm working on I don't have the <body> tag so I can't give it an onload attribute.
The component has an input element that needs focus when the...
I'm trying to include an image in an email, which is being sent using a mailto: URL in an iPhone app. The image shows up on the sender's mail app, but after being sent, the tag seems to be stripped out entirely. Here's a snippet, which has been escaped by hand:
[mailUrl appendString:@"&body=%3Cimg%20src%3D%22http%3A//stackoverflow.com/c...
Is there a good tool available (preferably opensource or free) that will take C# or VB.NET source code, prettify it (format it consistintly) and convert it into HTML source code (so I can post it on the web)?
...
Is HTML Tidy for Notepad++ broken? None of the commands except Tidy (the first one) work. They don't show any message, even with all text selected. I really need Tidy to work, or is it just a limitation of the newest version of N++, or lack of support?
Also, the custom syntax dialog freezes whenever I select a color from the color dialo...
I know I'v run across this before but for some reason IE decides to pixelate my submit button.
Does anyone know how to fix this?
...
Is there a way to suppress the pop-up titles on links, yet still keep them on the page for the visually impaired?
...
Is it better for sake of compatibility/JIT-Compiling performance to use UPPER CASE or lower case, in JS/HTML? For eg:
<DIV> my content </DIV>
<div> my content </div>
ALERT(DOCUMENT.LOCATION);
alert(document.location);
This is not a newbie question, I know lowercase is the de-facto standard. But since I've seen some uppercase JS+H...
I have a div that has a large number of items in it. I select these items dynamically by clicking a button, overflow is auto in my case. What I want is that when an item that is not visible is selected to scroll the div so that can be visible. How can I do this?
...
I hava a very interesting case where the JQuery Autocomplete field does not respond the first time i type in the TextBox, but when i TAB outside the TextBox and then return the cursor back to the TextBox for the second time it starts to respond and the results are shown as i start to type.
When i use firebug i can actually see the AJAX ...
Hi,
I'm currently working on an admin section for a website. The admin can use the infragistics WebHtmlEditor tool to create markup for pages which will then be loaded into the pages on load.
What is the best way to store this markup in the database? Should we just save the HTML generated by the WebHtmlEditor into a varchar field? I...
I'm trying to get JQuery to highlight an element based on the link ID selector
For Example
<a href="#thisid">Goto Element with ID name</a>
Highlights the element below.
<div id="thisid" class="isNowHighlighted">FooIsCoolButNotBetterThenBar</div>
Iv tried searching for relevant plugins but no joy. Any ideas?
...
Hi,
I have a form embedded in a html/smarty template code. Inside a form there is a dropdown box with options populated from db. If you change an option, it calls a php script via onChange event using ajax that creates/populates 2 further dropdowns. This part works fine, but if you submit the whole form (involving original dropdown and...
I have created an form validation using ajax/php. Each text box is validated using a different file e.g. username_ajax.php. Once the information has been checked to be ok it is then echoed on screen ("Username ok"). I cannot figure out how to allow the user to only press the submit button once all text boxes are 'ok'. Any help will be ap...
The ".html" suffix on a filename implies that the document contains html, head, and body tags.
I have some files that each contains a div element or two, but no html or body tags. The file contents are well-formed HTML fragments in the sense that they could be inserted into a body tag of a compliant HTML document, and it would still be ...
Basically at the moment I have:
http://link.com - plain text
I would like:
<a href="http://link.com">http://link.com</a>
Is it possible to automatically add 'a href'?
If so how should I go about doing it?
...