html

jQuery: How to get ID of dynamically generated element?

Here's the rundown: I am creating a table dynamically from the results of an AJAX call. To add the rows, I am using the "after" function, seeing as there are certain rows in the table that function as headers. After I add these rows, I have a quantity box that I would like to make editable. I am able to add an event to it, however I ...

IE drop down menu bug

Hi, im trying to fix a bad website, there was alot of differences between chrome, mozilla, ie and opera, after much work, came to this: http://www.israelnumber.com/new1/default.asp BUT on ie, when going over: products->numbers, theres a small space between the link below, and the menu on the right. any thoughts why? ...

Passing String value from Mobile Application to html javascripted codes on opera browser?

Hi i currently have a puzzle game application on smartphone windows mobile 6. I want to pass a simple arrayed string to a browser/opera that opens the .html code file which is a google map code. When the browser is opened, i would want to choose the values to be displayed inside textfield. I'm working on a mobile with windows mobile 6 C...

Setting html document width to fit text

I have an html document that is included as an iframe in a toolbar. The document includes a single line of text. I wish to limit the width of the document, so that it doesn't exceed a maximal width, but can occupy less if the text is short. How can this be achieved? If helpful, the document is actually a php document and I can use jav...

How to check if html elements are rendered in a single line in WebBrowser Component?

I am using the WebBrowser component to display a web page. I need to know weather a desired HtmlElement is rendered in a single line, .e.g a line that no other readable text resides in. I suspect that there is no method that will always work... HTML is to complex and there are a lot of IE versions. But there might be a good heuristic, th...

how can I enlarge the boundaries of an html table

There are many tables nested inside as it showd in the following three images. Please give an idea so that I can see the circled images fully in the third image.. ps: if you want any html code of o a part, I can share it here on request.. Now *1* 2 The Desired Html Page: The Final Scene: ...

Visual Studio 2010 & html entities?

I'm trying to insert a (») in a page in my VS2010 but it isn't recognized. Is there a way for this alias to be recognized or am I forced to use »? ...

Mimic apple.com globalsearch input field with HTML and CSS

OK, so if you check out http://www.marioplanet.com you can see that I am trying to mimic the design of apple.com for my menu bar, including my global search bar. Now, I'm trying to mimic Apple's input field for the global search bar, as close as I possibly can, so I need some help here. I would like the field to be centered in the midd...

Continuing to hide HTML input fields when page refreshes?

On a HTML page there is a filter section consistenting of various drop-downs and textboxes. When the 'type_of_report' drop-down is selected the 'onchange' event will hide all the non-relevant inputs for that 'type_of_report'. The filter criteria is preserved via GET (which I retrieve via PHP $_GET). The problem is that when I submit t...

table background image with jQuery and Image Splitting

I am trying to show a graph image which is horizontally long. The problem is, by the time user reaches the right end of the image, the y axis scale is not visible to him. I need to split the image somehow so that I can make the y-axis part of the image fixed and rest scrollable. I have 3 questions: 1. What is the best way to split the i...

Formatting HTML Source using Ruby

Hi All, Is there any Ruby library available to format the HTML source. By formatting I mean removing the extra spacing, apply proper indentation etc. I am already using Hpricot for parsing HTML. It would be nice if Hpricot could do this job. But I am not stick with Hpricot for the formatting stuff. Thanks, Imran ...

Adding table column dividers without distorting column data?

Is there an easy way to create vertical dividers between HTML table columns? I want to add thick bars, but the only good way I've seen to do this is to distort table data add TD's. Is there a way to add vertical dividers between columns of a table using only jQuery+CSS? My table structure is pretty simple. <table> <thead><tr><th>...</...

Compare array of words to a textarea input with javascript

I have a textarea inside a form. Before the form is submitted, the textarea is validated and checked so it is not empty, not over 2000 characters, not contain forbidden characters etc... I am working on the last part of the validation, which would need the textarea to be compared to an array of "bad words". This to help me maintain an...

Save Image from Servlet generated image src to HardDisk

I don't know how to automatically retrieve and save an image to my harddisk given this html source: <img src="https://someRemoteServer/servlet/GetItemServlet?ts=32352.3&amp;itemtype=blabla"&gt; I tried wget, but it only saves the request GetItemServlet itself to my harddisk. I want to iterate through 700 images on the remote Server ...

Set Text of Anchor Tag In Javascript

How do I set the text of an anchor tag in javascript? This does not seem to work. I'm using firefox. var link = document.createElement("a"); link.innerHtml = "Remove"; ...

How do I perform a function using DateTime objects?

I want my .pl to execute a function at the end of every day, week and month. What the function will do is grab an integer from an html at the end of the day and store it in a .txt to be used to create a graph. I already know how to implement CGI and JS with a perl script, so that is no issue. I'm just not clear on whether or not DateTi...

HTML - How can i disable auto text correction in my TEXTAREA???

My textarea contains C# code, so i get red underlines all over the place, is there any way to disable auto correction on a TEXTAREA in html code? Thank ...

Javascript IE innerHTML of <select>

I'm trying to change the innerHTML of a element based on the value of the previous element. I have the javascript correctly grabbing the current value and everything works correctly in Firefox, Safari, Chrome and Opera. IE is a pain. sample code: <form action="soap.php" method="post"> <select name="circuitproduct" id="circuitproduc...

Working Offline with Javascript, how to get full file path?

Here's my problem, i want to make an ID-Card generator site that needs users photo, but i don't want any file to be uploaded to the server so i decided to working offline with javascript, here's some part of my code <html> <head> <title>Try</title> <script language="javascript"> function getFile() { document...

What is the Use of Javascript.

What is the main motto of using Javascript mostly. How it will be useful for developing Applications. I know Html. How it will help me in learning Javascript. Any relations to both JS and html. ...