Hey,
I have a select options form fields setup like below:
<select name="options[]" multiple="multiple">
<option value="1" selected="selected">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
</select>
The user can select multiple options, but I woul...
I have an element with width 100% of the body and i need to be able to give it padding in pixels. every attempt i had at it ended up adding scrolling. i can't use overflow:hidden because i need to have vertical scrolling, and overflow-x/y isn't fully supported yet.
so how can i add fiexed padding to an element with a 100% width?
...
So i have a searchbox and on the right side of it there's a clickable drop down menu. When the user clicks, the menu drops down but in IE only it disappears behind some of the content underneath it. It works in Firefox (appearing over the content) I have the menu set to absolute position and it's z-index set to something like 999. If ...
Is there anyway I can get the value of a text field without posting a form.
I would like to use the value somewhere else in the same page.
...
I'm using iTextSharp to generate PDFs for an ASP.NET application, the PDF generation seems to work fine, though I'm finding iTextSharp a little unintuitive to use, but that's a different story.
I'm putting data into a table inside my PDF, now I want to place HTML content into a table cell and have it maintain the formatting/styling. I'v...
Okay, How do you generate your ajax-forms?
Do you keep the <form>-code in the javascript-files and load the data with ajax (e.g. json), or do you load a generated html-file (with all the <form> and <input> that you just push to the browser)? Or is there another simpler way?
If you use any framework, do you get your forms generated aut...
I have a page that has a bunch of different iframes (A, B, C, D) - all of which are fully visible at all times. Together, they make up the various portions of my application's UI. One of these iframes, iframe D - houses another, smaller iframe (iframe X) that is sometimes made visible by a user action. It should automatically disappear w...
I am downloading a dynamic file in my application, simulating ajax using iframes. What I am doing is, when the download request is made, I will create a dynamic invisible iframe, and set the src of my iframe as the download url.I am able to successfully download the file, but the requirement is to show a download indicator once the down...
I have a fieldset inside of a fieldset. Each type of fieldset changes color when hovered over. Works great in Firefox, but in IE8 and IE8 in IE7 compat mode, when I hover over the child fieldset, it jumps (it looks like some padding gets removed, but that's not what my css says).
Can someone help me figure out how to prevent the jumpy...
I have a select box:
<select id="item1" name="Item 1">
<option></option>
<option>Camera</option>
<option>Microphone</option>
<option>Tripod</option>
</select>
And I have this JavaScript:
var item1= document.getElementById("item1").value;
item1 always shows empty, never the option sele...
Do search engines treat the alt text of an image placed within an h1 tag the same way they would treat regular text placed in an h1 tag?
I gave a search through here looking for an answer to this question, but was only able to find information on image replacement and the infamous h1 debate.
For example would:
<h1><img src="#" alt="Co...
I navigated to a website with a form that has no submit button but does have form. I would like to submit this form. How to do this using C# and WebBrowser control?
...
I have a label with a tooltip attribute for rollover effect. This works all great. However, it seems to get hidden behind any dropdown lists that are nearby. I have tried adjusting the z-index, without any luck. This issue does not appear in firefox, and I have not tested it in later versions of IE.
I realize this is probably due to...
I have opened a website using WebBrowser. Now I would like to programmatically click input text (textbox) field. I can not use focus because this website uses JS to unlock this field only if it's clicked and I've tried also this:
Object obj = ele.DomElement;
System.Reflection.MethodInfo mi = obj.GetType().GetMethod("click");
mi.Invoke(o...
I'm attempting to improve the appearance of html documents printed using Webkit, in this case by exerting some control over where page breaks occur.
I'm able to insert page breaks where I need using:
page-break-after: always;
However, I can't find a way to avoid page breaks being inserted in the middle of items. For example, I have h...
I'm doing a simple AJAX post request in jQuery to another page on my site to get an XML document response. I'm putting the response into a pre element with syntax highlighting enabled. The response comes through fine (I can alert it), but it isn't being added to thepre element when I attempt to assign it in the handlResponse function wit...
If you're unfamiliar with Asirra, it's a CAPTCHA technique developed by microsoft that uses the identification of cats and dogs rather than a string of text for human verification.
I'd like to use their database of millions of pictures of cats and dogs for some machine learning experiments, and so I'm trying to write a script that will ...
Looking for a simple means in .NET to parse an html file to get back all values within <u></u> tags.
Ex: <U>105F</U>
There may be many of these in the file with other tags but all I need is to loop through and get back a list of all the values so they cna then be processed.
Looking for a light small way to handle this.
...
hi, my code lists items from an rss feed onto an html page. although, the java script is a little finicky. it won't read some xml feeds, usually the feeds containing list items over 25. I just need another set of eyes to take a look at the code and tell me if i'm missing something obvious.
.js file---------------------------------------...
I have strings like this:
"Car is blue"
String could also be like this:
"Flower is not at all beautiful"
I have html like this:
<input class="subject" />
<select class="isornot">
<option>is</option>
<option>is not</option>
</select>
<input class="adjective" />
I need to split the string and put it into the appropriate pl...