Disable LiveChat Code Based On Day - Time And Need To Add Holiday Dates
Dec 8, 2009
Im assuming that I would just add more else if statements, but not really sure the cleanest way to assign specific dates using this format.
I'm trying to implement a datepicker that disable the dates from a database. The problem I've is that I don't really understand what must I return. I'm using VB (2010) and SQL Server. To do it fine I'm using JQuery to call a page method that return a value (0 or 1) depending if that date it's or not on the database. The problem I've is that I don't know (I don't understand) how to do the array I must return to the datepicker. I've been looking the page of jquery but I don't understand it at all.
I don't understand what value must val has to make a day available or not...
Where I work there are certain dates where nothing can be done, certain times where work can be done with caution, and dates where work can be done. I want to put on the site a traffic light that would change colours based on the calendar dates where work can/can't be done.
For example, if April 11th there is stuff to do, the traffic light would be green. But April 12th, there isn't work to do, it would turn red. Do you know how I would go about doing this?
I have a requirement to generate a report (tabular view) which displays number of days by Month from Start Date to End Date. Also, total number of days that fall in the range in the corresponding year.
For example, Start Date: 02/15/2007 End Date: 08/22/2010
Report should be as displayed in the attached text file.
how to get the time and date difference? given two time and date with the following format like in textbox A: 2011-05-03 17:35:47.0 and textbox B: 2011-05-03 16:35:47.0 then the output would be: 0 days, 1 hour, 0 minutes, 0 seconds
in my web application i've disabled all F keys with common script like this below, i use F keys for open some different popups, but only F12 key have problem, if i press F12 first time it run well and open my popup, but if i close it and i immediatly press F12 again it doesn't open my popup but it open developer tool window.It run well only if before i click with mouse onto the page, but i do not have to use the mouse.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
above is the code of quiz which is created in php. that quiz is fine. the problem in in js script above the php script. what i want is when the time of 5 mins is completed then i want to disable all those radio buttons except submit button.
The problem is thought the cookie script will only write once to file if the text box that gets updated with a new value being the uploaded file value changes,to get round this i wanted to disable the radio button that saves the form upon change of the default value of the mirror1_url text input as the upload session is complete and the user would not need to recall the cookies values.a working version with the above problem can be found here http://urban-love.co.uk/uploads/userupload.phpim sure its only a few lines of script you can see I have implemented one in the page already see view source but it takes no effect in this form for some reason?
What I would like is that if south or east are selected for orientation then I can only select front left or front right but if north or west are selected then only rear left or rear right are available.
I'm working on a site for our radio station and want it to load a banner where you can see who the DJ is that is on. I saw code on here yesterday (actually it was from March, but I just found it yesterday and can't today) to do it, it showed two images at different times but I couldn't get it to work and don't know enough about java to add more time slots.
What I want is a function that runs on page load, ad eternum, changing the class of #foo into .bar and into .foobar alternatively, every X seconds.