Sometimes there’s a need to reload the page with JavaScript. There’s a built in method for that! Just use:
window.location.reload()
Sometimes there’s a need to reload the page with JavaScript. There’s a built in method for that! Just use:
window.location.reload()
Although the SWFObject method – createSWF is working fine under IE sets the wmode not to be transparent but with the strange value of window, i.e. <PARAM name=”WMode” value=”Window” />
to replace the createSWF method calls with other SWFObject method – embedSWF. There you can simply describe the desired wmode for the flash.
You’re using Flex 3 and want to compare two dates. The format of the dates is string something like “2009 May 05”. The question is …
Well if you’ve the dates as strings and you can easily conver them to something like unix timestamps. If they are a Date object you can try lik so: Continue reading Flex 3: compare two dates
Yes in our case this was the fact. There were two web servers, Apache 2 in our case, and one PHP. The php.ini file was in /etc/ as usual. Everything seemed to be perfect. But however some directives in php.ini does not worked for one of the server.
Well actually when you load the php.ini for the first server it loads correctly with everthing declared in it. However when you start the second server, of course on a different port than the first one, you get all the php.ini values as if they are default.
That’s some feature of PHP we didn’t know. I still don’t have an explanation about it. But of cource there’s a …
You can put everything for the second server in the .htaccess file, so this will act as second php.ini for the second web server
In that case I need to scroll my page onclick event to show the fully loaded content in a <div>, which just loaded content.
That can be done with window.scrollBy(x, y). Where if you’d like to scroll vertically you’ve to change the y value.