html

Images are only visible the first time in Safari

In safari, the images in the middle section load fine the first time you opend this page http://cacrochester.com/ If you refresh the page, the images are not visible. It seems to only be in Safari (so far on browsers that i've tested). Anyone know why? I'm using the NivoSlider btw. ...

Python regex: how to extract inner data from regex

Hi! I want to extract data from such regex: <td>[a-zA-Z]+</td><td>[\d]+.[\d]+</td><td>[\d]+</td><td>[\d]+.[\d]+</td> I've found related question http://stackoverflow.com/questions/1327369/python-extract-contents-of-regex but in my case I shoud iterate somehow. ...

replace a divs contents with the last entry

I have a div with a bunch of list items in it. I just want to remove all the contents inside except for the last list item. Is it possible to use $(this) in reference to a div id without putting it inside some sort of click function? Something like this? (I know its wrong) $('div[id='+id+']').html($(this).(".list-item:last")); If not...

Cross-browser compatibility problem with IE

My site is incompatible with IE. How can I fix this problem? ...

$.ajax() get body only

i have script like this <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Testing Ajax</title> <script type="text/javascript" src="jquery.js"></script> </head> <body> <a class="test" href="getthis.php">click here</a> <div class="get"></div> <script type="t...

how to disable the querystring value once the page has been loaded

How to disable the querystring value once the value from is extracted $(document).ready(function() { var page1 = Request.QueryString("page1"); alert(page1); if (page1 == 1) { // i will execute my code here ............ ........ ....... } else { $("#SearchButton").click(function() { }...

Select drop down html

I have a main select "main", and a list from 2 till 9, depending the situation, of more selects. What if I want to change the value in all this secondary selects, with the same value that the main select?. So the main select will change more than 1 select at the same time: So, I have got the main select: <select name="main" id="main" on...

How to omit data in some cells, where table is filled from xml file

I have xml file with data that i have to display in table. Now I am displaying all data row by row, so my table looks like: User | Date | Something John | 05.10| task_1 John | 05.10| task_2 John | 16.10| task_3 Jane | 16.10| task_1 but i want to get something like: User | Date | Something John | 05.10| task_1 | ...

how to work on same search tab on multiple html pages

I have around ten html pages all have search tab ,only one page is dedicated to display the search result , from which ever page i enter search it directs to search page and displays output ,is their any better method to do this? I am using jquery on clientside and webservices written in c# on the server side and i am not using master p...

Call javascript on checkbox onclick

Hi, I don't understand what I'm doing wrong here. I just want my function to be called when I click the checkbox. Replacing the function call with alert() works, am I referencing my function incorrectly? <html> <head></head> <body> <script type="text/javascript"> function select(a){ document.getElementById("myDiv").innerHTML=""+a; ...

convert svg to html+css

I want a converter to convert from svg format to( html + css ) <g transform="matrix(1.25,0,0,-1.25,0,15.56875)"> <text transform="matrix(1,0,0,-1,76.881,0)"> <tspan style="font-size: 7.87px; font-family: 'XITSMath';" x="0" y="0">N</tspan> </text> <text transform="matrix(1,0,0,-1,88.499,7.313)"> <tspan st...

CSS text-transform not sending upper case to Business Layer

Hi, I created a simple markup such as this. <html> <head> <head> <body> <input type="text" style="text-transform:uppercase" /> </body> </html> I was assuming that the browser will capitalize all inputs and indeed it was transformed In my business layer, I am assuming that browser will send the form data on Up...

How to retrieve the file in JSON format in JSP?

Hi, everyone, I want to ask a question about the JSON and JSP. I have 2 JSP (JSP1 & JSP2) pages and 1 JSON format file. Both of the JSP pages are pack into a .war file. The JSON file is stored in a web server(e.g. http://examp;e.com). And I have to do the following tasks: 1) Open the JSP1 (has a link) 2) When the user clicks the lin...

Counting embedded video plays from an external player

I'm trying to serve videos to my users using an embedded player. My current video provider provides a way of storing the amount of views that a video has, however I want to bring this functionality in house. Is there a way that I can register the 'play' of an embedded flash player (and HTML5 video player)? Perhaps by registering a callba...

HTML form POST to a python script?

Does anyone know of any good resources for information on how to POST data from a HTML form over to a python script? ...

Alternatives to base tag

I used mode rewrite on my website I used the base tag to solve my relative links problem <base href="/" /> But the problem is absolute link eg. http://www.absolutelinks.com It changes it to www.mysite.com/http://www.absolutelinks.com How can i fix this ...

HTML, printable hyperlink references, like table of contents

A link in an HTML document is normally clickable. However, on a printed page, that feature is by natural causes not available. <a href="#foo">Link to foo</a> [... loads of content ...] <a name="foo"/>Here is foo Klicking on "Link to foo" on screen will scroll the page to the right place. Is there a way to refer to page number instead ...

how to apply text decoration on text in textarea

Hello how to apply text decoration on text in textarea ,like bold ,italic, underlined,ect? ...

how to trigger an event on onload of <textarea>

In my application there are few <textarea> presents and applied pagination to all these <textarea>. On a page one <textarea> is displayed. Assume there are 10 <textarea> exist, then there will be exist 10 pages, one <textarea> on each page. I have applied auto fit feature to these <textarea>, written below function for this : functio...

Using C#, how can I detect a broken link or tag?

Hi, I have a html file that it isn't syntactically correct, I'm parsing it with HTML Agility Pack (http://htmlagilitypack.codeplex.com). But if I have a link like <a href="http://google.com/!/!!!"&gt;Google&lt;/a&gt; it's a problem, is there a possible way to detect broken links so that when an error is found (no page is available o...