I would like to get updates Java and related technogies news on every day so that I will new features of java, even I want to improve java skills by learning existing or new things which is related to logic, therory, programs,
How do I get all above details & give me links , so that I will subscribe to it
I am using this code to check the checkbox is chekced or not..
$('#nextpage').click(function() {
var result = $('#Details input[type=checkbox]').attr('checked');
if (result == true) {
$("#tabs").tabs('enable', 3).tabs('select', 3);
}
else {
$().ShowDialog('please select atleast one');
}
});
using this I can check only for one checkbox
if I need to check for multipe checkboxes in teh Details page how do I need to loop throw?
thanks
Hi
I have a WCF Service.
Is it possible to define a WCF service to have mulitple bindings
like
Method1 - WSHttpbinding
Method2 - BasicHttpbinding
Method3 - NETTcpBinding
Thanks.
How can I scale a set of values to fit a new range if they include negative numbers?
For example, I have a set of numbers (-10, -9, 1, 4, 10) which have to scaled to a range [0 1], such that -10 maps to 0, and 10 maps to 1.
The regular method for an arbitrary number 'x' would be:
(x - from_min) * (to_max - to_min) / (from_max - from_min) + to_min
but this does not work for negative numbers. Any help is appreciated. Thanks!!
Hello friends,
can anyone tell me main steps to consider while migrating 1.1 to 3.5 windows based applicatoin?
what are the steps need to consider at initially while planing for migration?
as per i know this applicatin i need to migrate like wsf and wpf and soo on.
thanks
I have implemented a Half-edge data structure for loading 3d objects. I find that the part of assigning twin/pair edges takes the longest computation time (especially for objects which have hundreds of thousands half edges). The reason is that I use nested loops to accomplish this. Is there a simpler and efficient way of doing this?
Below is the code which I've written. HE is the half-edge data structure. hearr is a vector containing all the half edges. vert is the starting vertex and end is the ending vertex. Thanks!!
HE *e1,*e2;
for(size_t i=0;i<hearr.size();i++){
e1=hearr[i];
for(size_t j=1;j<hearr.size();j++){
e2=hearr[j];
if((e1->vert==e2->end)&&(e2->vert==e1->end)){
e1->twin=e2;
e2->twin=e1;
}
}
}
I was making multiple remote calls and they are done sequentially and when I am getting a result event back it's triggering calls to all the methods with ResultEvent as an argument . I am supposed to receive the result event only in the method given inthe event listener but it's triggering calls to all the methods with ResultEvent as an argument .
Has anyone come across this kind of problem? Is there any workaround for it?
$('tr').click(function() {
$("#showgrid").load('/Products/List/Items/');
});
Using this I am handling click event on the row of the table.
How can I handle only on the first column? that is, giving click action to only first column not on entire row?
thanks
Hello,
i have grid with user data.with first column has check box.. i have a button at the top of the gird..if i click button I need to selct top 5 users from the list?
can anybody tell me how to do this using jquery?
thanks
I am involved in a project where I need to provide subset of our production data (for a date range) to one of my co-workers for trouble shooting.I would like to insert a scrubbed subset of the production data into a new database table that my co-worker can access. Please suggest best approach to achieve this.
<script type="text/javascript">
$(document).ready(function() {
$('#tmpOpen').click(function() {
var value = $("#tmpOpen").attr("value");
if (value == "Expand") {
document.getElementById("tmpOpen").value = "Collapse";
$('#Grid tr[role="row"] td a').not('.icon-minus').click();
}
else {
document.getElementById("tmpOpen").value = "Expand";
$('#Grid tr[role="row"] td a').not('.icon-plus').click();
}
});
</script>
is this right what i am doign here? icon-plus is class name for a...
I have a column in the data table called CurrentDate as datatype string..(12/2/1983)
when I am displaying on the screen this is showing as 12/2/1983 12:00:00AM
I am not sure why I am getting timestamp here?
can anybody help me out?
thanks
I have this code
$("#window").dialog({
resizable: true,
height: 180,
title: titles,
width: 500,
modal: false,
buttons: {
"OK": function () {
$(this).dialog("close");
}
}
});
i am able to get the popup perfectly but the problem I am getting here is..
On the top of the Dialog box I have 'X' I am not able to see that X on dialog popup's but when I resize my window I can able to see..
what I am doing wrong in this?
Thanks for your all help
I am hiding the entire column in the grid like this?
// $('#Grid tr th').each(function(column) {
// if ($(this).is('#div.id')) {
// hide();
// }
// });
can I do like this?
thanks
Is there any unit testing framework for C like JUnit and Nunit for java and .NET?
Or how do we test a piece of code written in C for different scenarios?
Thanks in advance......
$("#table_id").click(function(e) {
var row = jQuery(e.target || e.srcElement).parent();
$("#table_id").bind('click', loaddata);
name= row.attr("id");
});
loaddata is the funcation I am calling on click on each row..
but this cilck event is working for double click.. I mean when you double click its working fyn..
but i need it to work for single click on the row..
is that anything I am doing wrong here?
thanks