I want to perform some action on elements that are not direct child of the body. How can I check a particular element to know whether its partent is the body.
Thanks!
I am from a MSSQL Server background and tried to search to see if there was a way to perform a trusted connection in DB2 similar to how you do that in MSSQL? I basically do not want to have a user name and password in the connection string and have the "runas" user have that information.
Thank you for any help!
Hey guys i have done a game in cocos2d.And now i am stuck
.i have a menu scene and a game scene.
In menu scene i have a button named "Play Game".
when i press this button game starts perfectly after game over i have a button named "Go back to main menu" that is used to take back to main menu scene now after game over when i click "PlayGame" button game does not perform any action and get freeze.
please please help me guys i will be really thankful to you.
Our development cycle rarely requires a branch so we have what tfs appears to consider a single, never-ending development cycle. Our problem is that each build includes an ever increasing long "Generating list of changesets and updating work items" step that includes all changesets/work items back to day 1.
What is the proper step that we need to perform to formally lock and label (wrong terms I'm sure) the source tree so that a new cycle of changesets and work items can begin.
Thanks!
I'm using the SQLite3 database system in the Android library.
I need to execute a query during a transaction to see if there is a similar entry already there. If there is, I have to perform some other logic and adjustments before I add a new row.
Can I execute a query within a transaction and get the result back immediately?
Hi....I need to prepare proof-of-concept for a silverlight application. For that I need to load PDF in silverlight. I just need to load PDF in browser and allow the user to perform next, previous, stop and pause actions. Anybody can help out.
Stupid question, right? But the official docs for 'text index' say:
http://docs.mongodb.org/manual/core/index-text/
Text Indexes
New in version 2.4.
To perform queries that access the text index, use the $text query operator.
Whereas if you click on the help for searching the index you created with the $text operator, it reads:
http://docs.mongodb.org/manual/reference/operator/query/text/#op._S_text
$text
New in version 2.6.
Seems to be 2.4 but still having problems wiht it.
Hello,
I'm trying to perform database migration from the command line using
"php doctrine generate-migrations-diff", it just gives me the error:
"Could not generate migration classes from difference"
Is there anyone having the same issue?
I'm using Zend Framework + Doctrine 1.2.2
Thanks.
I've read a time ago about generate xml from Java using annotations, but I'm not finding a simple example now.
If I want to make a xml file like:
<x:element uid="asdf">value</x:element>
from my java class:
public class Element {
private String uid = "asdf";
}
Which annotations I should use to perform that? (I have a xml-schema, if this helps the generation)
Hi All,
I have a combo box column in vb.net datagridview . i want to perform some validation like to put some values in another text column of Grid on selectionindexchanged event of a combo box in datagridview. but unable to do so. Any Help appreciated. Thanks in Advance.
I have a lotus view that stores a number. I need to perform some math against the value, but I am having a lot of problems getting the types to match up.
doc.numOfGold = numGold
and CInt(doc.numOfGold) = numGold
and CInt(doc.numOfGold) = CInt(numGold)
and doc.numOfGold = CInt(numGold)
all return type mismatch. I've tried changing the column properties to treat it as a decimal, with no better luck.
Any thoughts?
Thanks!
I intend to perform opening for reading a single file from many threads using std::ifstream. My concern is if std::ifstream is thread-safe & lock-free?
Hi,
Anyone know if it is possible to perform faceted searches with NHibernate.Search and Lucene.NET or do you need to implement something like Solr as well to get this functionality.
I haven't been able to find anything regarding this in the docs.
Thanks!
Hi....I need to prepare proof-of-concept for a silverlight application. For that I need to load PPT in silverlight. I just need to load PPT in browser and allow the user to perform next, previous, stop and pause actions. Anybody can help out.
Normally I would us
<form target="_blank">
But looking through
http://www.w3schools.com/tags/tag_form.asp
I notice the target attribute is deprecated.
So what is the correct XHTML compliant way to perform such an action?
when i wana put it offline it say:
"Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started."
all froums said to me:u must
under Apache open the httpd.conf and change the lines
#Listen 12.34.56.78:80
Listen 80
to
#Listen 12.34.56.78:80
Listen 8080
save the file and you are done.
but my httpd.conf is blank!!!i need it
Often times I will want to perform some action on every page of my web application or make some method available to all of my controllers. In the past with object oriented MVC frameworks I would have all of my controllers extend a root controller, placing everything I wanted done on every page in the constructor of that root controller. How would I accomplish something similar with sails.js / javascript?
Hi,
I intend to perform some automated integration tests. This requires the db to be put back into a 'clean state'. Is this the fastest/best way to do this:
var cfg = new Configuration();
cfg.Configure();
cfg.AddAssembly("Bla");
new SchemaExport(cfg).Execute(false, true, false);
Thanks.
Christian
I need to get the minimum and maximum values in a collection of floating point values, after applying an absolute value conversion. In python I would do this
min(map(abs, [-5, -7, 10, 2]))
how can I perform the same operation in java in the most elegant way?
Hai,
I would like to have a post thumbnail in the index page of wordpress site. And when you click on the post thumbnail, it opens the specific post page to play the video attached in that post.
basically the post is a video.
can u guys help in finding some good plugin to perform this task
I have two tables.
table_x:
id INT(11)
tag INT(11)
table_tags:
id INT(11)
name VARCHAR(255)
Then I use PHP to perform the following query:
SELECT * FROM table_x LEFT JOIN table_tags ON table_x.tag = table_tags.id
The only problem is: how do I access table_x.id and table_tags.id in the results?
Here is the PHP code:
$query = "SELECT * FROM table_x LEFT JOIN table_tags ON table_x.tag = table_tags.id";
$results = mysql_query($query);
while($row = mysql_fetch_array($results))
{
// how do I now access table_x.id and table_tags.id ???
}
Hi,
I was trying to do something like this: http://www.element-it.com/Examples/MultiPowUpload/AdvancedHTMLinterface.html
But in my search for information I found that is not possible to perform multiple file selection with simple HTML and JavaScript (and JSP in the server side). There is a way to do this without using Flash? A third party component you could recommend?
Thanks.
Hi,
The basic question is: How do I perform a basic override of a plugin method without editing the original plugin file?
Is it possible to create an override for a specific instance:
Example:
An rtf plugin uses:
$('selector').wysiwyg('setContent',newContent);
In order to display the rtf text as readonly I would like for the same method to be applied to a div instead of the body of the IFRAME
I would like to overwrite the original 'setContent' with my own code, just for this one element.
Thanks
As 359494 indicates they are basically identical except '===' also ensures type equality and hence '==' might perform type conversion. In Douglas Crockford's JavaScript: The Good Parts, it is advised to always avoid '=='. However, I'm wondering what the original thought of designing two set of equality operators was.
Have you seen any situation that using '==' actually is more suitable than using '==='?