Print multiple pages with single click..

Only by loading a framset with all four pages loaded – with the onLoad event handler in the frameset using the window print method to print each frame: [form] [input type="button" onClick="if (window.print) location.href='printframeset.htm'"] [/form] And then in printframeset.htm: [html] [head] [script language="JavaScript"][!-- function printAll() { for (var i=0;i[frames.length;i++) if (window.print) frames[i].print(); } //–][/script] [/head] [...]

Share

How to call javascript function from PHP Code

Hi All, I am back with more tips and tricks of Javascript, to make it “fun with Javascript” . Contrary to common layman notion that javascript is not user friendly or not very reliable, it is very reliable and user friendly. Sample this even google and Yahoo use them in there application, this shows the [...]

Share

Calling two function on one click…

Hi All, Today I will talk about how can we call two javascript function on one button click. I have seen many case while doing website designing that many times we get situation where we want to check/validate couple of things on one button click, contrary to general notion people have it is very much [...]

Share

JavaScript to validate input value is an Integer

JavaScript Validation: Script to validate input value is an Integer. We will use Regular Expression and exec() function to do the validation. Sample Code: //Code for Form which captures click event and calls ‘validate()’ function. //function validate() // { //frm = document.form //var freg = /(^\d\d*$)/; // var Intval = frm.text.value; //if(!fr.exec(Intval)) // { // [...]

Share

Uploading Multiple Files with PHP

Today we will see how can we write a code to upload mutilpe files, this is pretty simple. You can do it using one file or one html file and php file. Today will see how we can do it with a single ( please see I am not adding bells and whistles) // Absolute [...]

Share

FAQ’s contd..

a.) Why does Google hate me/pick on me? A: “Google” does not pick on individual sites but instead allows complex mathematical equations to decide the value of your site in any particular search. Although it may sometimes feel like they are picking on you, most times a ban or bad results can be traced to [...]

Share

Google FAQ’s….contd

a.) What are things to look for if your site ranking goes down in Google listing? ( i.e. I have lost the top spot, what happened?) A: Most obvious reason would be a drop in backlinks. Obviously when you are not aggressively acquiring new inbound links to your site on a day-to-day basis, existing backlinks [...]

Share

Google FAQ’s….contd

a.) What are things to look for if your site ranking goes down in Google listing? ( i.e. I have lost the top spot, what happened?) A: Most obvious reason would be a drop in backlinks. Obviously when you are not aggressively acquiring new inbound links to your site on a day-to-day basis, existing backlinks [...]

Share

Google FAQ!

Search Engine Optimization: There are many question that comes to your mind when one thinks of SEO, In this article I am trying to answer few of those question. If you any question you can ask me at info@varshltech.com 1.) How can I use Robot file; can you give us an example of it? Ans:- [...]

Share
Could not connect: