Do not do that, battery chemistry is very important and swapping or using the wrong charger as you are suggesting can destroy the battery and/or charger. The worst is the charger will get damaged then when charging the LI it will overcharge and give you a brilliant red fire ball.
I am assuming this is for your computer (laptop). Look where it plugs in and it will tell you what voltage and current is required. The smartest thing is to get the correct replacement. If this is the start of many projects see if you can get a small Lab Power supply with adjustable current and voltage. You can also resort to wall warts (plug supplies) or if desperate batteries.
Without experience or somebody with experience working the mains will help somebody collect on your life insurance.