Hi, is there a way with css or js to show the scrollbar of an element on the left instead of on the right? i don't need a crossbrowser way i need it only on Firefox.
I have a element which contains 3 child. let says
<div class="parent">
<div class="firstChild">firstChild</div>
SecondChild
<ul><li>thrid child</li></ul>
</div>
In the example I need to select first 2 childs and not the UL. how to do through jquery.
hi all this is my json object..everything seems to be fin e but dunnkow why i am seeing this--missing ] after element list
can somebody help.,.here is y json
{"rows": [{"type": "fft_vel","axis": "x","pwrhgh": 7.44475138121547E-02,"pwrlow": 2.35267034990792E-02,"hzlow": 244.827586206897,"hzhgh": 506.896551724138,"dataid": 0,"id": 467,"name": "2008-02-08 14:24:22 - creating first active alarms testing","title": "RMS displacement alert on Pump 11 Sensor 2","description": "An RMS displacement value of 0.04495 inches was recorded on Pump 11 Sensor 2 on 2\u002F8\u002F2008. This is between the RMS displacement alert levels of 0.0442 inches and 0.12 inches.","time_stamp": "2\u002F8\u002F2008 2:24:22 PM","sensor_id": 550003281}]}
I'm looking for the most efficient way to add an element to a comma-separated string while maintaining alphabetical order for the words:
For example:
string = 'Apples, Bananas, Grapes, Oranges'
addition = 'Cherries'
result = 'Apples, Bananas, Cherries, Grapes, Oranges'
Also, a way to do this but while maintaining IDs:
string = '1:Apples, 4:Bananas, 6:Grapes, 23:Oranges'
addition = '62:Cherries'
result = '1:Apples, 4:Bananas, 62:Cherries, 6:Grapes, 23:Oranges'
Sample code is greatly appreciated. Thank you so much.
Hi,
How to detect whether a DOM element is block or inline with javascript?
For example, is there a function/property which returns 'inline' for a 'a' tag?
Thank you.
element is upcoming cross browser standart for playing videos, while most videos out there right now are in flash format.
I am new to tag, so if it is possible a code sample of how to play flash movie with tag would be nice
I'm writing a small firefox addon to grab urls and send them to a site. What I want to do is be able to right click on a link (but not have to actually highlight it) and be able to click send and the links href value is grabbed and sent. The bit I'm having trouble with is detecting if the selected element is an anchor and grabbing it's href. Many thanks for any help given :)
Hi,
I'm getting this error when trying to restore an SSAS database from a backup:
The ddl2:MemberKeysUnique element at line 63, column 4862 (namespace http://schemas.microsoft.com/analysisservices/2003/engine/2) cannot appear under Load/ObjectDefinition/Dimension/Hierarchies/Hierarchy.
Google hasn't turned up any helpful solutions. (a lot of people found that installing SP2 made the error go away but this has always previously worked in our environment)
I don't really understand what the error means. Can somebody interpret or suggest a fix?
Thanks,
Phil
I want to be able to determine if the web.config element
<compilation defaultLanguage="vb" debug="false" />
if the property is debug is set to true or false.
Public Shared Function isDebug() as Boolean
......
......
......
......
End sub
Thanks
You have an array size n and a constant k (whatever)
You can assume the the array is of int type (although it could be of any type)
Describe an algorithm that finds if there is an element(s) that repeats itself at least n/k times... if there is return one. Do so in linear time (O(n))
The catch: do this algorithm (or even pseudo-code) using constant memory and running over the array only twice
$("div.square").droppable({
accept: '.white',
drop: function (event, ui)
{
$to = "#" + $(this).attr('id');
alert(to);
$.post(
"/Game/AddMove",
{
from: $from,
to: $to,
GameID: $("#gameID").val()
});
}
});
Well it's nor working. So I must ask, is it possible to call AJAX on droping some UI element ?
The problem is, it's not even calling an controller,
Without any extension library, is it possible to have multiple layers in the same canvas element?
So if I do a clearRect on the top layer, it will not erase the bottom one?
Thanks.
hi, I am getting this exception
Could not find schema information for the element 'class'
on line
Line 13: Predictive.DALUtility.Global.Configuration.AddAssembly("ReleaseDAL");
What can be the possible cause?
Thanks
Hello all,
My question is quite simple,
I created a DIV, with a HyperLink control in it.
As following:
I created an 'onclick' event in jQuery for the DIV as well:
$('#divOne').click(function() {
alert('You clicked on the DIV element');
});
My goal is to trigger this event when the DIV area is clicked (working fine), BUT-
When the HyperLink is clicked, I need the page to redirect WITHOUT triggering the DIV 'onclick' event (can use JavaScript or jQuery as needed).
Thanks all!
var phoneBookTableValue = [];
phoneBookTableValue.push({ "key":"1", "value":["3396,Accounting ,CCH,,,,","1"]});
phoneBookTableValue.push({ "key":"2", "value":["3284,Acute Care ,CCH,,,,","2"]});
phoneBookTableValue.push({ "key":"3", "value":["3265,Acute'Care East ,CCH,,,,","3"]});
When running the javascript file I get the error "missing ] after element list. Can U help me? PLZ!
Hi,
I have a class
Class MyObject
{
decimal v1;
decimal dv1;
decimal v2;
decimal dv2;
}
and a
List<MyObject> ...
I need to process every element of the list by adding dv1 to v1 and dv2 to v2
Something like (pseudo-syntax):
myList.Transform(o=>o.v1+=o.dv1, o.v2+=o.dv2)
How can I do this (obvious my pseudo-syntax doesn't works)?
Thank you
In Oracle, you can write:
update t
set xml = updateXML(xml, '/a/b/text()', 'gaga')
This works only if you already have some text in the <b> element. How to update the document and "add some text" in <b> if the document in the database looks like:
<a>
<b/>
</a>
here how it's goes:
You have an array size n and a constant k (whatever)
you can assume the the array of int type tho it kind be of whatever type but just for the clearane let assume it's an integer.
Describe an algorithm that finds if there is an element/s that repeat itself at least n/k times... if there is return one - do it in linear time running O(n)
Imortent:
now the catch do this algorithm or even pseuo-code using a constant usage of memory and running over the array only TWICE!!!
hello!
i'm looking for a proper way of placing popup div-elemnt in the center of current view area.
for example: we have some div element with {display:none; position:absolute} and few buttons, one on the top of document, second in the center and last one, somewhere in the bottom. By clicking on any of this button, div should appear in the center of current viewing area
$(".btnClass").click(function(){
//some actions for positioning here
$(div_id).show()
})
I have written a jquery-ui widget using the Widget Factory...
I need to be able to determine in code whether the element is already a widget or not...
My investmentGrid widget is created on #container with
$('#container').investmentGrid()
I need to be able to determine elsewhere in the code if $('#container') is already an investmentGrid
Hey there,
I have the following markup: http://www.webdevout.net/test?011
As you can see, the "li" element is overlapping the rounded borders defined for the box.
Is there a way to prevent this apart from applying the corner directly to the last "li"?
Thanks
Please, I am not a programmer, all I want to do is use iframes on my wordpress blog which is validating as xhtml 1.1.
If I use the iframe I am not validating. I get the error element "iframe" undefined
Amazon.com, widgets and astore links all come as framesets or iframes. Can someone help me please.
I'm looking for the most efficient way to add an element to a comma-separated string while maintaining alphabetical order for the words:
For example:
string = 'Apples, Bananas, Grapes, Oranges'
subtraction = 'Bananas'
result = 'Apples, Grapes, Oranges'
Also, a way to do this but while maintaining IDs:
string = '1:Apples, 4:Bananas, 6:Grapes, 23:Oranges'
subtraction = '4:Bananas'
result = '1:Apples, 6:Grapes, 23:Oranges'
Sample code is greatly appreciated. Thank you so much.