basically i wish to achieve like user type file name,then video will be pop up what i want to do is i was tried to pass textbox value as jwplayer path to play video if i typed Video/video.mp3 into textbox and i click “button” , my jwplayer able to play video.mp3 what i want to do is juz typed “video”
Tag: asp.net
How can I validate that someone is over 18 from their date of birth?
I am doing validation for Driver’s Date of birth, it should be minimum of 18 from the current date. I am using this above JavaScript validation for checking a person’s DOB above 18, but it is not correct. I need to check with today’s date and it should be above 18. How can I compare and check with the current
How to validate the DateTime of MM/dd/yyyy hh:mm format?
I am using MaskedEditExtender for entering a datetime. I am unable to figure out how to validate it. Is there any Regular Expression for validating dates along with time MM/dd/yyyy hh:mm or any Javascript function ?? Answer THis will solve your issue:
what encoding this is?
can anyone tell me what encoding is applied on the chinese character, so that chinese characters are converted into this code or text and stored in mysql database : original chinese characters which are displayed in web page : on the web page there is a header function is used to make standard chinese chars as follow: Thanks… Answer When
Confirmation delete window – deleting record when click delete or cancel
I have a Javascript file that contains the function for calling the confirmation delete window, the code used is similar to the following: I have a gridview with a template field that can delete a row in the gridview, this is a snippet of what I have: Within the aspx.vb page I have code to do the deletion of the
Define onblur event dynamically in ASP.NET code
What I am looking for is to dynamically create two textboxes from the C# ASP.NET code (either normal textbox or HTML input text, I don’t mind). And then I tried (and failed) to define an event that fires when the first textbox loses the focus, so, what is written in the first textbox should be copied to the second textbox.
How to change the text of a label?
I have a radiobutton list and on click on the radio button item I have to change the text of its label. But for some reason it’s not working. Code is below: Answer ASP.Net automatically generates unique client IDs for server-side controls. Change it to In ASP.Net 4.0, you could also set the ClientIDMode property to Static instead.
how to call javascript function in html.actionlink in asp.net mvc?
How can one call a javascript function in html.actionlink in asp.net mvc? I want to call one method, which is in JavaScript, but how I call it within html.actionlink in the same page? Answer you need to use the htmlAttributes anonymous object, like this: you could also give it an id an attach to it with jquery/whatever, like this:
Want to fire Dropdown SelectedIndexChanged Event in Javascript
I have dropdown on my page, I am changing selected value of dropdown from popup window using Javascript. I have some logic in dropdown SelectedIndexChanged event, so I need to fire the SelectedIndexChanged event when dropdown selection changed from Javascript. Answer This should work, if you are still getting some error, you can try like this: yourcontrolClientSideID is the ID
How to: Back button support “Ajax”
I have an asp.net ajax website, it full of things happen on the same page without page reload, such as sorting records, paging,… When the user go to another page in the same site and press the browser back button, how can i make the browser save the page state to return to it with the preselected options such as