Possible Duplicate:
Cant get the complete address while uploading a file
I need the full path.
I'm trying to give the functionality of local bookmarks, ie user wants to access c:\MyStuff\Myfile.xls on their local Pc.
How do I save/get that value without having to make a tutorial help page on how to cut and paste c:\MyStuff\Myfil...
Hello , I'm currently working on a problem that basically involves processing all data in a form, saving it, and replacing the entire form with a text link. My primary goal is to convert a form, with some data using the POST method, and a submit button, into a standard text link that can then take the saved/serialized data and POST it t...
How do I call a JavaScript function from a texbox that is generated by an MVC Helper. I want my textbox to call a function like this:
<input type="text" id="Ejemplo" onkeyup="SumaEjemplo()" />
I'm using:
<%= Html.TextBox("Ejemplo")%>
Where do I put it?
...
When editing HTML in Visual Studio, is there a keyboard shortcut for jumping to/from the matched html tag in much the same way that you can do so with matched brackets?
I've already been to the Visual-Studio-Keyboard-Shortcuts Question.
For example:
I want to move from <head> to </head> when I press a keyboard shortcut.
...
Often as a Web Producer I get a lovely mock-up with text wrapping around an obvious background image. The content is going to come from a backend CMS and I don't want the editorial staff to worry about inserting <br /> tags etc.
Lorem ipsum dolor sit amet, consectetuer adiping elit, xxxxxxxxxxxxxx
sed diam nonummy nibh euismod tin...
I have a simple MVC form with the following elements:
<%= Html.TextBox("FechaInicio") %>
Which has the start date.
<%= Html.TextBox("Meses") %>
Which has the amount of months I want to add.
I'd like to take the date that has been entered on the first textbox, add the amount of months that have been entered on the second textbox an...
i prefer jquery.
let's say i have a string with ,
adam, lisa, john, sarah
and i want to turn them into :
<ul><li>Adam</li><li>lisa</li><li>john</li><li>sarah</li></ul>
...
I have a very specific requirement for a Prototype based JS / HTML script (or something that doesn't interfere with Prototype) that can add the following functionality to a normal, multi-column HTML table:
Re-order rows using drag and drop and send changes to a Javascript handler function (not a "sortable table" function to order by fi...
i have several HTML Select dropdowns on the same page, used in slightly different contexts. they both use the same option data that is stored and echoed out of a php variable that was built from a database query.
The Problem i am running into is that one works and returns the selected value, while the other one only returns the value of...
First off, I'm aware this is a bad practice and I have answered many questions even saying so, but to clarify I am forced to use regex because this application stores regexes in a database and only functions this way. I absolutely cannot change the functionality
Now that we got that out of the way.. because I always use DOM methods I'm ...
What would the relative path of the following url be?
http://domain.com/wp-content/themes/themename/images/breadcrumb%5Fsep.png
...
Hi all
I am reading in a complex chunk of HTML and I'd love to be able to walk this sub-tree of HTML in the same way I can the DOM.
Is there a way in Prototype to take a raw chunk of HTML (say from an AJAX call) and 'wrap it' in some way so that it becomes a Prototype element and thus allow me to search it using .up() .down() etc?
...
My delete.php is sending the selected item to the db as dead as it should, but the blog is still staying on the page that its deleted from. What am I doing wrong? this is my query: on the delete.php:
$MyBlog = $_GET['id'];
$query = "UPDATE `Blogs` SET `status` = 'dead' WHERE `id` = '".$MyBlog."'";
Like I said, this is marking id dea...
Hello,
Form is 'get' to a API which operates off of querystring.
One of the parameters is a PackageID which indicates a vacation package. In order for the packageID to appear I also need to append '#packages' to the end of the get request.
Since not all form 'get' have a package I need this to be dynamic. I've tried adding a hidden fi...
I am building a CSS site and fail solving this partial problem:
On the left side there is a box which consists of three images. A top image, an (optional and stretched) middle image, and a bottom image.
I want the box to the left automatically stretch if there is more content inside. This already works for the right side with my curren...
My HTML contains tags of the following form:
<div class="author"><a href="/user/1" title="View user profile.">Apple</a> - October 22, 2009 - 01:07</div>
I'd like to extract the date, "October 22, 2009 - 01:07" in this example, from each tag
I've implemented javax.swing.text.html.HTMLEditorKit.ParserCallback as follows:
class HTMLP...
I have read w3's page on this here, but it is still vague to me. Is the role attribute's purpose to clarify the code? Or will it be interpreted by some browsers or spiders?
Can it be used as a dom selector using some javascript libraries (I am thinking that since the id attribute has to be unique, this could be use to identify multiple...
I viewed the html source code, there is no <tbody>, but when viewed via firebug in the HTML tab, <tbody> appears. Any idea why?
...
Hi all,
I want to play an flv video file in my website. The video will be started playing considering the internet connection speed of client machine so that the video will never pause showing the loading image for buffering.
Either the buffering/streaming will be completed first then play or the video will start playing after a short ...
I'm working on a web based application, and in order to test my changes, I'd like to be able to compare the visual rendering (perhaps by way of overlaying) and the source HTML (diff style) of 2 browser tabs (development vs production). I'm happy to use any browser to do this.
I've already got a couple of scripts that pull the HTML from...