« first day (496 days earlier)      last day (672 days later) » 

04:20
Good Morning
 
2 hours later…
05:59
Morning
@Ranger
@joker @Justcode @TheDictator
Jay shree krishna
JSK
@Justcode
06:15
function onPhotoDataSuccess(imageData) {

//alert('onPhotoDataSuccess');

var smallImage = document.getElementById('smallImage');

smallImage.style.display = 'block';

var imagedata1="data:image/jpeg;base64," + imageData;

smallImage.src =imagedata1;

alert("data:image/jpeg;base64," + imageData);

var sig="gobi";

$.ajax("http://182.74.207.232:8080/timetracking/customerInfoStoringAndroid.do?cmd=saveclientdetails1&imagedata="+smallImage+"&sigdata="+sig).done(function(data) {
});


}
alert("data:image/jpeg;base64," + imageData);
not owrking
mornig @all
@GopiSankar can u create fiddle??
06:30
@dotNetAddict how you handle file upload in angular?
r u there ? @joker
hi @RoNss
i need help u again
<input type="file" name="file" onchange="isValidImage(this)" accept="image/jpeg, image/png" id="UploadedImage" />
w??
06:43
<input type="file" name="file" onchange="isValidImage(this)" accept="image/jpeg, image/png" id="UploadedImage" />

//submit function
$scope.RegisterUser = function () {
var files = document.getElementsByName("file")[0].files;
if ($('#userRegistrationForm').valid()) {
//save data and then save file
if (files.length > 0) {
var fdata = new FormData();
var xhr = new XMLHttpRequest();
fdata.append('files', files[0]);
fdata.append('userID', data.UserID); //gets userid from saved data
xhr.open("POST", "user/UploadUserPhoto", true);
@Justcode
@dotNetAddict ok get it
07:04
morning all
I have 2 prn text files that are tab seperated.I need to get the two match up the data using a unique id in the 2 then export them as a csv
my idea of a solution is to read them into two seperate datatables then merge the datables somehow and then export to csv.
Is this a good idea @Justcode or do you know of a solution that would be better @yash
nope
1) convert them to json compare it on server side. bind the matched data to csv and expert
2) compare in c# and then export it
3) choose any one from 1 or 2
4) database option is necessary if you must have to enter that data in the database
@Justcode desktop app
forgot to mention that part
sorry
:P
ok then remove #1
so C3 datatables?
c#
you need to insert into database also?
07:18
no need
ok than just handle it with some code
 
1 hour later…
08:34
posted on May 07, 2015 by kbironneau

/* by Tio */

 
3 hours later…
11:25
jquery readystate 0 responsetext status 0 statustext error
do anyone knows the issue
?
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: url,
data: "{'SerialNo':'" + JSON.stringify(name) + "'}",
dataType: "json",
success: function (data) {
var result = JSON.parse(data.d);
alert(result.StudentName);
},
error: function (xhr, textStatus) {
alert(JSON.stringify(xhr));
}
});
whats with the data.d? @vishuminhas
giving json object
@Gotalove
@vishu is data from form coz I dont see you serialisind the data
data: $('#myForm').serialize() + "&moredata=" + morevalue
@vishuminhas why not var result = JSON.parse(data);
?
12:18
@Gotalove congrates on new job
no new job
 
2 hours later…
 
2 hours later…
16:06
posted on May 07, 2015 by kbironneau

/* by lucki */


« first day (496 days earlier)      last day (672 days later) »