Hi,
I have a strange problem.
I'm using Protoype to show a "<ul></ul>" markup with Show() method (Toggle() too).
When I click on my button to display my "<ul></ul>", Internet Explorer display it on the screen, but in the source code, the "display:none" is always present O_o
And my flash player doesn't work because of this.
But on ot...
I'd like to know if there is an alternative for this in ASP.NET MVC:
<input type="file" name="filePath" id="file" />
I would like to have it with some code sample:
<%= Html.TextAreaFor(m => m.FilePath,1,32,null)%>
...
Hello!
Is it possible to send an e-mail with a <form> in it that the receiver can fill out and send? The form will obviously have an external absolute path to the processing file (action), e.g. http://mysite.com/processor.php.
Just Yes - No answers will not suffice.
By possible I mean will all e-mail clients like this and allow mails ...
I have a problem with my form querystring being too long.
I plan on solving this problem by simply disabling all un-used form elements before submit.
But I need help on making this js function...
You need to know that I have a js-function which shows sub-categories whenever a main-category is chosen. This happens "onChange" on a drop-l...
I have a website that, upon clicking a link generates a div.
Allow me to explain a little deeper. I have a table of "pages" in my CMS and I've added the ability to add new pages through a little popup div.
My pop-up div is defined below the table, but is style="display:none" so it does not appear on the page. Upon clicking the Add New...
hi there,
Just looking for the best practise way of doing this.
I have a table listing information and in the last column is a button with "Edit/View". When the user clicks on the button a div area appears with more information which can be edited
Code below with some fragments of jstl
<script type="text/javascript">
//Click on Edit/V...
I am geting stackoverflow exception on htmlparse method when I have any image in my html file. I am using iTextSharp 4.0.4 dll. I also tried iTextSharp 5.0.2 dll. In that i can not find htmlparse method at all. Here under is my code:
Document doc = null;
XmlTextReader reader = null;
MemoryStream msHtml = null;
...
It's nothing new - select tag looks damn ugly.
Is there nice jQuery plugin out there that could replace it with ease?
...
Is there an elegant way to get the computed style for each DOM node in a web page, for a large number of files, in order to compare style data for similar nodes across those files?
I'm working on a large number of HTML files (> 500) containing pretty broken HTML from MS FrontPage, trying to extract style data and convert it to semantic ...
<td>
<form name="search_form" action="" method="POST">
<input type="text" name="search_text">
<input type="submit" name="search_bt" value="Go">
</form>
</td>
now when ever we use this code it adds an extra line after it ends.... see the image below
see the red boxed area... there is nothing there... nothing b...
I wonder if there's any SEO difference between using a regular a href-link or making an element clickable by adding javascript onclick?
Basic example of the my two options...
<a href="myUrl">Link</a>
<div onclick="javascript:yUrl">Link</div>
...
I have set up a multiselect select box and am successfully limiting selection to (say) 5 elements. I can detect when the max number is exceeded, but I can't work out how to roll back to the previous selection so as to be friendly to the user.
I tried to return false, but that didn't work. I don't want to try to remember the last valid ...
Currently, on my site, I use a background-image with an exact height so that the text (which is also an exact height) fits in on each "line" in the background-image - unfortunately it doesn't work too good. Whenever Japanese characters are in the list it will "bump" the line, so the background-image loops onto a new "line" and shows abou...
Hi there. Apologies for the title, I found it hard to define my question succintly and that was the best I could do. If someone wants to edit it to add a better title then please, be my guest.
Anyway, the question. We have on our webpage the capability for users to delete something. They do this by clicking on a delete link, something t...
well we can have name anchors in our page like the following code
<!---Some HTML Code-->
<a href="#Mark_1">Mark 1</a>
<a href="#Mark_2">Mark 2</a>
<!---After some HTML Code-->
<a name="Mark_1">
<!---After some HTML Code-->
<a name="Mark_2">
by doing so we provide links that to scroll up and down a page and all but
I have seen seve...
I'm writing a j2ee application, that generates an html and sends it as email. In my html, a have an image, but it is not displayed when email is received. The html code is something like:
<img src="myimage.gif"></img>
where "myimage.gif" is sent as attached file in the email.
I tried to change it to
<img src="cid:myimage.gif"></img>...
I am looking for a HTML table where the header is fixed. I've found some solutions on the net and on Stackoverflow but none of seems to fit my needs.
What I want is something like this: http://www.imaputz.com/cssStuff/bigFourVersion.html but when you resize the browser window the table should show a horizontal scrollbar. In the example...
In my CSS file I use this:
html,body{height:100%;padding:0;margin:0;border:0;}
Which causes a vertical scrollbar to appear on IE8, Chrome 5 and Mozilla 3.6, all latest version.
Also, the document is empty, it only has the html, head and body tags so nothing is going out of screen to cause that.
Setting overflow:hidden; on the html e...
I have a website that I am making and I was going to implement a perl script into it. This script goes to another page gets a .csv file and reads in the lines and parses out what I need. The problem I have just ran into is that my hosting server apparently does not allow custom CGI scripts on an MS server. I chose the MS server so I coul...
I have this function:
function disableDiv(divId, action){
var divId = byId(divId);
if(action==true){
divId.style.display='none';
}
else if(action==false){
divId.style.display='block';
}
var inputs = divId.getElementsByTagName("input");
var selects = divId.getElementsByTagName("select");
var i;
...