473,414 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Using Javascript in Fabrik as part of Joomla

I have a table which users add data into 4 fields then 5th field needs to add all these up as a sum i have done it one way but it adds them as follows

1+12=112

$('table_name___total').value = $('table_name___rd1').getValue() + $('table_name___rd2').getValue() + $('table_name___rd3').getValue() + $('table_name___rd4').getValue();
Nov 10 '08 #1
3 4249
acoder
16,027 Expert Mod 8TB
You need to use parseInt to convert the string into an integer.
Nov 10 '08 #2
You need to use parseInt to convert the string into an integer.

Sorry for sounding dumb which i am how do i do that
Nov 10 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: KCC | last post by:
I apologize if this is not the correct group to ask this question but I can't find another newgroup that might help and I am having no luck at the Mambo or Joomla forums. I am looking for a...
0
by: pravat_panda2006 | last post by:
Hi! Links about joomla: http://www.joomla.org/ http://www.joomlancers.com http://joomlasupport.co.uk http://groups.google.co.in/group/Outsource-Joomla-Project...
14
by: Osiris | last post by:
time for a Joomla newsgroup ! support the initiative on news.groups and nl.newsgroups. search there with keyword "joomla" and give your opinion, with solid arguments.
9
by: walterbyrd | last post by:
If I wanted to build a website with forums, news feeds, galleries, event calander, document managment, etc. I do so in Joomla easily. But, I would perfer to use django/python, if that would be at...
7
by: Dawson | last post by:
A client of ours with a large ecommerce shop is looking at moving to Joomla... The question is: Is Joomla ready for large critical enterprise e-commerce application(s), with white-labelling...
0
by: phopman | last post by:
I am currently working with Joomla, which is based on PHP. So I think that the question I have, might be a little on the side, but I also think that many PHP'ers out there, is working with Joomla,...
17
by: The Natural Philosopher | last post by:
WTF is it? like most of these wonder tools, you find the site, and it tells you lots of stuff that you don't need, but the main questions:- what is it? where does it fit on my server?...
4
by: st3znmvg3yzo6atl45l8 | last post by:
Hi Guys, I have just seen this as im looking for a joomla tutorial: http://www.joomla-tutorial.org Anyone buy it? It looks promising but i just wanted to find out what you guys think. ...
8
by: Annalyzer | last post by:
I agreed to write an event registration site for a group and then later found out that their website was created with Joomla. I had never heard of Joomla so I started reading about it and it seems...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.