html

How do i pass a javascript variable in querystring from one html page to other

I have two html pages example1.html and example2.html ,how can i pass a javascript variable username from example1.html to example2.html in querystring. <script type="text/javascript" > $(document).ready(function() { $('#SubmitForm').submit(function() { var username = ($("#username").val()); .........

Looking for JQuery drag and drop features

Here's what I want to achieve. I want to be able to have a list of words, which I can drag over an input field and drop into the value. I want to be able to do this multiple times possibly with the same word, to go in more that one input field. Basically I'm sorting words into groups. If anyone could point me at a JQuery library that ...

running a word macro dynamically through java/html/jsp

Hi new to running macros through coding . Please help me if it is possible to do it through either of html/jsp/java... ...

Meta tag in html

Can anybody tell me that why we use meta tag in html ...

List items alignment

I have a list and in Firefox it looks like this: http://cl.ly/2Og9 but in Safari it looks like this: http://cl.ly/2PLT Here's the code for the list. Very simple: #footerwrap #footer-left li { background: url(images/common/list-item.gif) no-repeat 0px 10px; padding: 4px 10px 8px 15px; font: normal 12px Verdana; } What do ...

HTML5 + Jscript with JQuery, setInterval problem

Please can someone tell me why this isn't working before I defenestrate everything on my desk. I have the following html document: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html";...

How to implement search textbox as in stack overflow website?

I have a search textbox in the web page. When the user presses enter key after entering text in that textbox then the search function should get executed. How to do this? ...

Python String split with multiple regex

Hi I have Python String as shown below: <html><table border = 1><tr><td>JDICOM</td><td>Thu Sep 16 10:13:34 CDT 2010</td></tr></html> From above string I am interested in two words JDICOM Thu Sep 16 10:13:34 CDT 2010 I tried find, findall, split but it did not help because of multiple regex. I am quite new to python. If anyone kno...

customize paypal integration in php html javascript

Hi there, a site i am working on requires to have an option to pay with paypal and another through direct billing. I though the shopping cart would lead to a payment method and depending on the payement option selected either the user will be sent the bill via email or rerouted to paypal to complete the payment. I was wondering if anyon...

Odd glitch causes content to move when hovering over an image

I have a problem with my site in Internet Explorer 7/8/9. Here's how I reproduce it: Go to http://pieterdedecker.be/. Hover over the fourth icon under "Programming: software and sites". Slowly move the mouse towards the thumbnail with the candles. When the mouseover is triggered, the image moves down a couple of pixels. Here's the od...

Table background image

We need to set background image of a table. One way is to set the background attribute of table tag but this needs to enable printbackground option in the browser when printing. Any other way out like we can set z-index of image and table? ...

How do I retrieve a value from nested divs tags with Perl's HTML::TokeParser?

I'm using the HTML::TokeParser to parse an HTML file and get data within div tags. My HTML is as follows: <div class='t_and_h f_t' id='t_f_i'> <div class='icon'> <img alt="icon" src=""/> </div> <div class='t'> 12:31 PM </div> <div class='h'> <a>Residue 4</a> </div> <div class='f_t'> TRUE </div> </div> M...

JQuery droppable problem

I'm having trouble with the JQuery's droppable feature. I have modified JS from here: http://jqueryui.com/demos/droppable/ <script type="text/javascript"> $(function() { $("ul.draggable li").draggable(); $("div.droppable").droppable({ drop: function(event, ui) { alert('Hello World'); }...

How do I let users send an e-mail from a form in my Flash website?

Hi to all. I’ve just started working as a Flash web designer. Right now I’m making one Flash website. I’m making this website in Flash, and to upload the web content I’m using an HTML file. I’ve also created a “Contact Us” page on this site. On that page I’ve made one small form with five tags. At the end I’ve put two buttons — the fir...

Don't load jQuery on mobile devices

This question may have been asked before, but I couldn't find an answer to it using both Google and the built-in search function of this site. I want to use jQuery on my website, but only if it is displayed on a desktop computer. If my site is displayed on a mobile device, I don't want it to load jQuery. What's the best way to do this?...

text field input focus on mouseover

We have the following snippet to get focus on a particular text field in a form onmouseover="this.focus();" We have lots of text input fields throughout the user interface which expect some kind of input from the user. Is it a good practice to provide focus to the text fields onmouseover, assuming the target audience is not that com...

Default Value Containing Special Characters in HTML Form

I was trying to get a symbol like to be a default value for a text field, I am trying to set the default by a javascript , but all i get is &reg; or &amp;&reg; in the text box, i am doing this from script as i am using drupal , so i dont have html files , i even trie ddefault value option in hook_form() ...

How to add additional information to hyperlink?

Hi, it is probably a dummy question, but... I generate HTML document from a database. Some parts are generated as hyperlinks, which should contain additional information: Table name, ID of table row etc... When user click on it, the program should extract and decode this information and generate another part of database as HTML documen...

Is that possible to display divs next to each other without floating ?

I want to put several divs next to each other (in one row). All divs have the same height. Here is how this can be done using float: left. Is that can be done without using float ? ...

select item from dropdown list on webpage

I need my app to select an item from the dropdown list on a webpage. Here is the html <select class="Data_Entry_List_Box_Loca" onclick="clearSuggestion()" onchange="updateDropDownList(this.form, true)" id="xxx_c_1_f_163" name="xxx_c_1_f_163"> <option value="-1">Please Select</option><option value="1785" selected="selected">Alberta</op...