« first day (63 days earlier)      last day (1424 days later) » 

ASR
ASR
04:55
@CapricaSix hi
05:14
@ASR GM :)
ASR
ASR
@CJRamki boss how are u?
@CJRamki VGM
yanaku ungal ph.no vendum..
:14533097
@CJRamki hi
05:37
@ASR Y dude?
@JqueryLearner Hi dude...
ASR
ASR
@CJRamki casually asking
@CJRamki I have a doubt
@ASR get it from fb dude...
@JqueryLearner what dude...
When working on a web application that involves a lot of JavaScript, one of the first things you learn is to stop tying your data to the DOM.
In this statement
ASR
ASR
ok ty
:14533431
05:40
I did not understand the line one of the first things you learn is to stop tying your data to the DOM.
How do we tie data to DOM
Can you make me understand?
@CJRamki
@JqueryLearner refer this dude... stackoverflow.com/a/12834530/2567813
I have seen this friend
But did not understand
Can you give me an example where we tie data to DOM?
05:55
1
A: Example of tying data to the DOM

StevoI've just done something using backbone that displays a modal edit box, where you can edit the name of a project. As this name is also displayed on the main page I want to update that at the same time. But I don't want to identify the DOM element and update it directly with the result of my edit....

sorry no help
are we tying data to DOM in simple js anywhere?
@JqueryLearner i'm also try to learn such thing...
i think less interaction with html elements.
which one?
the above SO answer they created a template class using backbone.js
I mean you are learning backbone
06:06
here after i need to learn that... for better performance...
Nice then I will get help from you
by this we can manage html dom from javascript itself using that class object...
from which site you are learning backbone?
i just read the above SO answer...
i have a idea to learn backbone.js....
you have used backbone earlier
06:17
@JqueryLearner never used dude..
ASR
ASR
06:48
@CJRamki dude YUI u know?
@ASR do you mean Yahoo! User Interface Library
ASR
ASR
yes
:14534640
@ASR not yet used...
ASR
ASR
is it good one?
@ASR don't know about that dude...
ASR
ASR
06:59
iam going to learn that one, in Liferay it is mostly used for UI
:14534839
@ASR i think it's nice...
just now i seen that documentations...
ASR
ASR
this link skypoet.net is very nice how did you get it?
i just searched about to create a tree structure using html dom elements...
i got that site...
they implemented it using list..
very nice..
ASR
ASR
yes i have gone through it..
:14534926
ASR
ASR
07:18
@CJRamki i want feedback form in html, did you ever do?
in html
@ASR yeah...
ASR
ASR
can u send me that
:14535288
where you want to store feedback?
in database or you want to send a mail?
ASR
ASR
to send mail
:14535327
@ASR but i did it with php
ssy
ssy
07:32
@CJRamki : Hii Good Afternoon
@ASR could you use php in your liferay?
@ssy good afternoon dude...
HI Cj
@sankrish vaanga...
Do you know to validate file type using javascript
?
@sankrish did you mean file extension?
07:43
no in html
input type "file"
how to validate its not empty
?
var upload1 = document.getElementById('file1').value;
if (upload1 == '') {
    alert('please select file');
} else {
    //do stuff here
}
@sankrish
@sankrish check this jsfiddle.net/cjramki/pvPtw/12
DD.
DD.
08:20
VANAKAM thala @CJRamki
hello @ASR
@DD. vaaga madam...
hw r u?
DD.
DD.
gud , u?
also fine...
DD.
DD.
lunch?
inimethan...
what about u?
DD.
DD.
08:22
here 2 o clk lunch timings...
i think naanum appo than poven...
DD.
DD.
k
sudheer nalla thoongura madhri theridhu... @CJRamki
@DD. ok... now going to lunch...
DD.
DD.
ensaiii
@DD. what?
DD.
DD.
08:26
nalla sapda sonen
"ensaiii" enna language?
english thana?
@CJRamki
!!afk lunch
where are u working CJ?
0
Q: Calculate running balance per product in mysql view

indagoI have a view (vwbalance) in mysql that i use to check the current inventory balance of our product in the store,It has been working very fine with one product. Here is the view CREATE VIEW vwbalance AS SELECT a.`id` AS `Trans No`, a.`tdate` AS Siku, a.`section` AS `Section`, `g`.`p...

ASR
ASR
08:33
@CJRamki i will try first ..
@ASR CJRamki is afk: lunch
ASR
ASR
@DD. hi
@CapricaSix afk means?
hi guys!
ASR
ASR
08:52
@CapricaSix hi
09:13
@ASR hi
09:39
@indago hello...
welcome :)
hi... Good Noon guys
@indago
ASR
ASR
@KumarShanmugam hi
@indago hi
@CJRamki hello
@KumarShanmugam hi
anyone good in mysql queries?
@ASR hi
@indago hi ....
@KumarShanmugam hi!
ASR
ASR
09:54
hi
:14538347
i saw ur post... may i what is ur exact requirement @indago
@ASR hw r u ?
@KumarShanmugam i want the running balance to show per product
you see its totalling all products
@indago which one is total .... u mean balance is total?
yes balance
ASR
ASR
fine, need help
@KumarShanmugam \
wt abt u?
09:58
@ASR u r fine thn y u need help.....
ASR
ASR
:)
@ASR hehehe :)
thoppi thoppi...
ASR
ASR
how to send html form data with out using php?
:14538540
:14538508
to email
@ASR you cant do that without serverside script
@indago so u store the balance value in both table protect and inventory ?
10:00
@ASR you can use javascript
ASR
ASR
ppl r saying required server side scriting
:14538570
@KumarShanmugam no the table mst_product i just use it to get the product name only because in the trn_inventory table i only keep the product id(p_id) the inventory table is where i store the transactions
ASR
ASR
@indago can u provide any refernce link
@ASR you can use html mailto attribute to do that...
but you can do it with outlook express like local application.
ASR
ASR
yes i have seen that..... no alternative ?
:14538647
10:05
@ASR why php not feasible in liferay?
ASR
ASR
means?
i did not get ur point..
@ASR you should use php for this or you can do it with local mail client like outlook express
ASR
ASR
ok tell me the procedure how to do it? wt are the requirements add php code
i will follow
:14538815
@ASR let me look for one
@indago do you need the balance for each product ?
10:10
@CJRamki yes i need the balance for each product, but the current query is giving me balance for all products
try to group by product
@indago you have to group by product
@KumarShanmugam ye i tried but it was giving me wrong output, can you see the sample i provided
i mean
WHERE (o.`status` = 'APPROVED')
    GROUP BY product DESC,o.p_id;
@CJRamki let me try
ASR
ASR
10:16
@CJRamki dude any form builders?
ASR
ASR
requirement chaned
:14539139
@ASR Hmmm... good...
@indago ?
10:40
@CJRamki still not working can i give you the sql fiddle you try?
@indago yeah can....
post the link...
@indago hey first check the data are correct or not...
siku is transaction date. right?
yes u r rite @CJRamki
@KumarShanmugam yes its transaction date
dont even use the view just write the select query
10:51
6th transaction on jan 14, 1st transaction on jan 15 ?
@CJRamki yes
@CJRamki when there is alot of work you can post data of an older date
later
@CJRamki In this thomasdavis.github.io/2011/02/01/backbone-introduction.html there is a statement like this
Each view has a HTML DOM element associated with it.
what is meant by this?
11:12
@JqueryLearner the line el: $("body"), should explain this, its the DOM element the view is applied to
@indago Thanks for replying
But what does HTML DOM mean?
@indago hi... ur data is totally confused me... what are u trying....
first u insert the value in the vwbalance table?
@KumarShanmugam each time a product enters the store a record is inserted in the trn_inventory table
each time a product leaves the store a record is inserted in the trn_inventory table
in the cr(product getting in) and dr(product getting out) fields store the quantities of the product for that transaction, you will find one has a value the other has 0
Hi, why is the data attribute always undefined?
$(document).trigger({
type: "myEvent",
data: "myData"
});
@JqueryLearner its the HTML element being affected for that case it was 'body'
11:26
@indago I am weak in javascript
actuallY what I know is when a page is loaded a DOM is created
Now I dont understand what Is HTML DOM?
@JqueryLearner html dom is html element
@CJRamki html element <p> ,<a> right?
so when a page is loaded only one DOM is created,right?
i think so...
11:32
sqlfiddle.com/#!2/eac502/1 just look at this.... this is u want? @indago
@KumarShanmugam u are genius...
you proved that. you are good problem solver
No no no...................
@KumarShanmugam yeah thats what i wanted,let me test it again then i give you feedback
@KumarShanmugam post it in main SO question
@indago after you test it accept @KumarShanmugam's answer
@indago WHERE (o.status = 'APPROVED' and o.p_id = a.p_id) this line only changed man
@CJRamki its ok bro
11:36
@indago Thanks for the link
@KumarShanmugam thanks, i have tested it and its working! thanks alot,please answer it on the main SO question then i can accept the answer so even others will benefit from it
@indago yeah sue...
@indago I posted answer in SO question
@indago i think you struggled in this issue from yesterday
@indago welcome dude...
@CJRamki yeah man, it has been nagging me since yesterday!
11:47
@indago congratz..... :)
 
2 hours later…
13:28
Hi! Is anyone here?
13:42
yeah
Can I ask you something about customized components in Joomla?
@JulianMoreno post your question... if anyone know about your issue... they will interact you...
14:08
OK, give me a couple of minutes, I'm trying to solve it by myself. Thanks for your answer!
see u guys... bye
14:20
@KumarShanmugam bye, once a gain thanks! i owe you one...
I have not yet succeeded. I'm in the file myproject/administrator/components/com_mycustomizedcomponent/models/component.ph‌​p trying to query the database...
... to do so, you need to do it in this way docs.joomla.org/Selecting_data_using_JDatabase ...
... and my code is thisone chopapp.com/#j54vmuvz
14:47
As additional information, I'm trying to query a dababase different from Joomla installation.

« first day (63 days earlier)      last day (1424 days later) »