html

get href of link with display:block property

Here's is what I'm trying to get <a href="default.aspx?propid=BARN" class="topbook"></a> The above link should clone the sidelink that has display:block <a href="default.aspx?propid=FARM" class="sidelink"></a> <a href="default.aspx?propid=HANW" class="sidelink"></a> <a href="default.aspx?propid=BARN" class="sidelink" style="display:b...

jQuery serializeArray not picking up dynamically created form elements

Hi, I've got a form that's dynamically created using ajax (as data for the form elements has to come from a database) and I want to serialize the elements of the form to submit by ajax. I'm currently just testing my theory using code from the jQuery website just to see if I can pick up the form elements and this is where the problem lies...

How to add image tag inside title attribute of an anchor tag?

I have added an img tag inside title attribute,but the img tag shows as text when hover over link(using hovertip js),and does not display an image.What needs to be done? <a title="4r23r 2342.00 &lt;img src=/m/productsmedia/IHALE.GIF&gt;" class="product_detail " href="/?product=6" id="0">4r23r</a> ...

The bookmarks stopped to work in my website URLs

The bookmarks stopped to work in my website URLs. For example: http://www.website.com/page#91 doesn't slide anymore the page to the <div id="91">.. and it was perfectly working before. It just open the page from beginning, or last slided position. ...

Switch information using jQuery

I am thinking of applying a new page to the admin section on my website and I wanted to make one page with three tabs ( picture should be included ) is this possible using jQuery. Thanks a lot. ...

Name field in the input type for checkbox

Hi, I went through many online documents for checkbox input in XHTML. Can anyone clear my doubt? I mean what does this name field actually stand for? Milk: <INPUT type="checkbox" name="checkbox" value="Milk"> Chocolate: <INPUT type="checkbox" name="checkbox" value="chocolate"> Cold Drink: <INPUT type="checkbox" name="checkbox" value="C...

css frame problem

hi. i am trying to do a page like this - http://www.wickham43.supanet.com/tutorial/headerfooterfixexample.html but i want just the bottom to stay. so i created this but this is not working. can you pls tell me why? <html> <head> <title></title> <meta http-equiv="Content-Language" content="en" /> <meta http-equiv="content-...

IE 7 display issue with background image buttons

At the very bottom of the page the three read more buttons aren't displaying correctly in IE 7. Why is this? I have tried everything! http://tiny.cc/do1qr .readmore { background-image: url("images/readmore-left3.png"); display: block; float: right; height: 24px; margin-top: 10px; } .readmore a { background: url("images/rea...

window.open cache problem

Hi all, I'm using window.open in a function to open a web page, which displays help for the current page. The pages URL are stored in DB , some pages need authentication. For these pages, the first time we call them the user has to authenticate, but if he closes the page and opens it another time , it's the cached page that is displa...

HTML/CSS3 - Background-Image sliding with mouse-over

Hi, i want to code a html with a dynamically background-image with a widht of ~1920px. The Image must be displayed with its center. When i move to the left side with my mouse the background should go to the right and display the hided left content - if i go right the same effect but inverted. I can remember i saw something similar as an...

how to display special characters correctly in the website - html

hi if you can check in my code here, you can see that the "umlauts" or the special letters in german are not displaying properly. How can i display them properly do i have to put something in my code? Thanks oops jsfiddle is not working... so i posted it here: thanks: http://www.tintin.ws/files/newsletter006.html ...

Get html tags from textbox in C#

I have a text area in my ASP.NET web application that is used to enter html code. Now there is also an button control, which upon clicking should retrieve just the text placed between certain html tags in the text box. For example: 1) User types html code including tags etc. and clicks the OK button 2) In my code the text from the te...

How to dim other div on clicking input box using jQuery?

I am having 3 input box, and i would like to dim the complete screen except the particular input box which is being clicked. I tried this: http://jsbin.com/equre3/2 But when i click the textbox everything including the text box get dimmed. On text box click this is what i needed. all div: opacity: .5 contactForm div: opacity .75...

Does objective c have a strip tags function?

I am looking for an objective C function (custom or built-in) that strips html tags from a string, similar to PHP's version that can be found here: http://php.net/manual/en/function.strip-tags.php Any help would be appreciated! ...

PHP Parse HTML code

Possible Duplicate: Best methods to parse HTML Hello! How can I parse HTML code held in a PHP variable if it something like: <h1>T1</h1>Lorem ipsum.<h1>T2</h1>The quick red fox...<h1>T3</h1>... jumps over the lazy brown FROG! I want to only get the text that's between the headings and I understand that it's not a good idea...

Is it possible to show unicode characters in a HTML input type=submit value?

A customer has a designer mockup of a form button that shows a right facing triangle character after the main text, but I can't seem to get this showing. The offending markup is; <input type="submit" value="Add to basket &#9654;" /> This should look like 'Add to basket ▶' (if it renders in your browser). Is this possible or am I doin...

How to make an html body transparent for UIWebView

Hii....i am new to iPhone programming..Can anybody help me out please i have an html which is generated by eXe tool.I need to show it on an UIImageView. so the html has to be transparent then the image looks like backround. is it possible to make that html as transparent..? Thank u ...

PHP: while </tr>

Hi, i got a problem, where can i place my </tr> so it shouldnt get duplicated when its in a while? <table border="0" cellspacing="0" cellpadding="0" > <tr> <?php while ($pF = mysql_fetch_array($stringVisits)) { $BuID= mysql_real_escape_string($pF['BuID']); $getByInfo = mysql_query("SELECT * FROM users_profile WHERE uID = '$Bu...

Very tedious accessibility question about alt tags

For a WCAG 2.0 compliant website need to have alt tags for the images. When it comes to something like a company logo. Should the alt tag just be the name of the company, or the name of the company followed by "Logo" I think the former makes more sense but if there is a definitive best practice I would like to know! Exciting question e...

Is it possible to work out where in a p's text a mouse click event occurred?

I have a <p> containing text. When the <p> is clicked on, I create a <textarea> containing the text from the <p>. Is it possible to calculate where in the <p>'s text the click occurred, and move the <textarea>'s cursor to that same point? ...