A file input button for all browsers, is this possible?

I can’t remember the source of the technique but this seems to be cross-browser. Tested in: Google Chrome 9 FireFox 3.6 Internet Explorer 6-9 Opera 10 Safari for Windows Here is the complete code: HTML: <div> <button><!– this is skinnable –>Pick a file …</button> <input type=”file” /> </div> CSS: div { position:relative; width: 100px; height: … Read more

Clear text area

When you do $(“#vinanghinguyen_images_bbocde”).val(”);, it removes all the content of the textarea, so if that’s not what is happening, the problem is probably somewhere else. It might help if you post a little bit larger portion of your code, since the example you provided works.

Uploadify (Session and authentication) with ASP.NET MVC

To correct this I propose you a solution… Send the auth cookie value and session id cookie value with uploadify and recreate it before session is retrieved. here is the code to implent in the view : <script> var auth = “<% = Request.Cookies[FormsAuthentication.FormsCookieName]==null ? string.Empty : Request.Cookies[FormsAuthentication.FormsCookieName].Value %>”; var ASPSESSID = “<%= Session.SessionID %>”; … Read more