Title: Help with javascript?
Last modified: September 1, 2016

---

# Help with javascript?

 *  Resolved [arhyarion](https://wordpress.org/support/users/arhyarion/)
 * (@arhyarion)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/help-with-javascript-3/)
 * Hi,
 * I successfully installed Ajaxize, pasted a function and got a div – and it works.
   Woohoo!
 * Two things I’d like to do with the value I’m getting though.
 * 1. I’d like it to refresh every 30 seconds.
 * 2. The function outputs price per gram. I need to output price per Troy ounce.
   So the value that is being output needs to be multiplied by 31.10.
 * In the FAQ there was a mention of a Javascript being able to achieve this. I 
   just need some help. Thanks.
 * [https://wordpress.org/plugins/ajaxize/](https://wordpress.org/plugins/ajaxize/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [yoav.aner](https://wordpress.org/support/users/yoavaner/)
 * (@yoavaner)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/help-with-javascript-3/#post-7549668)
 * Hi arhyarion,
 * > I successfully installed Ajaxize, pasted a function and got a div – and it 
   > works. Woohoo!
 * Happy to hear!
 * > 1. I’d like it to refresh every 30 seconds.
 * Take a look at the FAQ [https://wordpress.org/plugins/ajaxize/faq/](https://wordpress.org/plugins/ajaxize/faq/)
 * > 2. The function outputs price per gram. I need to output price per Troy ounce.
   > So the value that is being output needs to be multiplied by 31.10.
 * Unfortunately this goes beyond the basic functionality of Ajaxize or the level
   of support I am able to offer.
 * Good luck using Ajaxize.
 * Cheers,
    Yoav
 *  Thread Starter [arhyarion](https://wordpress.org/support/users/arhyarion/)
 * (@arhyarion)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/help-with-javascript-3/#post-7549786)
 * Follow up regarding the Javascript in your FAQ:
 * Are these modifications that would be made to the ajaxize_this.js code? Or would
   this be a new javascript entirely?
 *  Plugin Author [yoav.aner](https://wordpress.org/support/users/yoavaner/)
 * (@yoavaner)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/help-with-javascript-3/#post-7549792)
 * New javascript. You shouldn’t need to change the plugin js code.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Help with javascript?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajaxize.svg)
 * [Ajaxize](https://wordpress.org/plugins/ajaxize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajaxize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajaxize/)
 * [Active Topics](https://wordpress.org/support/plugin/ajaxize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajaxize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajaxize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [yoav.aner](https://wordpress.org/support/users/yoavaner/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/help-with-javascript-3/#post-7549792)
 * Status: resolved