Now one Submit button is the default focused control. but I need to set the default focus to another imagebutton. Can only use $(document).ready(function(){ctrl.focus();} ? or has another property to fulfill it?
Hi folks:
I see a document said: CurrentUICulture must be set at the startup of a application.
For a web page, where do I dynamically/statically set this property appropriately?
Thanks.
I have a fairly simple MS Access Database that contains some metadata about a bunch of documents and a hyperlink field that links to the document on our network drive.
However, when I use a SQL INSERT statement to populate the hyperlink field, the value I give it only becomes the display text, not the actual link.
How can I make the value a functional hyperlink? I'd think that the hyperlink data type would actually create hyperlinks.
I'm using Access 2002 SP3.
Hi,
is there a way to convert a javascript HTML object to a string?
i.e.
var someElement = document.getElementById("id");
var someElementToString = someElement.toString();
thanks a lot in advance
I want to conduct a quiz using silverlight. This quiz contains few questions and each question will have multiple choices (Radio Buttons). User should select one answer. After completing the quiz I need to display Result.
Is it better to provide the questions and options in XML Document and then retrieve it into silverlight class? If yes, can anybody tell me the procedure to achieve it.
Hello,
My company wants to use Liferay for developing a portal and integrate Alfresco with it for document management.
But both Liferay and Alfresco are Java based and i would like to know if there are any alternatives to Liferay and Alfresco in PHP or Python.
Thank You
I'm running GM_xmlhttpRequest and storing the responseText into a newly created HTML element:
var responseHTML = document.createElement('HTML');
onload: function() { responseHTML.innerHTML = response.responseText; }
And then I am trying to find an element in responseHTML.
console.log(responseHTML.getElementsByTagName('div'));
console.log(responseHTML.getElementById('result_0'));
The first works fine, but not the second. Any ideas?
on master page i put this code to load page in same master page and then run jqeury function
i m trying this
$(document).ready(function() {
$("#mainContactLink").click(function() {
$(body).open("about-us.aspx", self);
$(" #abtContacts").fadeIn(1000).siblings("div").fadeOut(100);
$(" #abtContacts").siblings();
});
});
its not working.. any idea ?
Suppose CSS as we know it had never been invented, and the closest we could get was to do this:
<script>
// this is the page's stylesheet
$(document).ready(function(){
$('.error').css({'color':'red'});
$('a[href]').css({'textDecoration':'none'});
...
});
</script>
If this was how we were forced to write code, would we put up with it? Or would every developer on Earth scream at browser vendors until they standardized upon CSS, or at least some kind of declarative style language?
Maybe CSS isn't perfect, but hopefully it's obvious how it's better than the find things, do stuff method shown above. So my question is this. We've seen and tasted of the glory of declarative binding with CSS, so why, when it comes to the behavioral/interactive layer, does the entire JavaScript community seem complacent about continuing to use the kludgy procedural method described above? Why for example is this considered by many to be the best possible way to do things:
<script>
$(document).ready(function(){
$('.widget').append("<a class='button' href='#'>...</div>");
$('a[href]').click(function(){...});
...
});
</script>
Why isn't there a massive push to get XBL2.0 or .htc files or some kind of declarative behavior syntax implemented in a standard way across browsers? Is this recognized as a need by other web development professionals? Is there anything on the horizon for HTML5?
(Caveats, disclaimers, etc: I realize that it's not a perfect world and that we're playing the hand we've been dealt. My point isn't to criticize the current way of doing things so much as to criticize the complacency that exists about the current way of doing things. Secondly, event delegation, especially at the root level, is a step closer to having a declarative behavior layer. It solves a subset of the problem, but it can't create UI elements, so the overall problem remains.)
Hi ,
I am looking for a solution preferrably 3rd party component , to open / disply word/excel/ppt and PDF document into flex :
Flow is like this :
User uploads any of the file .doc/.docx/.pdf/.ppt etc . This file is then displayed in flex area , without having user to get Office .
( Office WEB Component ) is ruled out because it needs office to be installed already .
print2flash.com sounds good but their problem is they are on windows , my setup is LAMP
PHP / mysql over Linux .
Thanks
I want detailed explanations for bsd-socket options so that I can use them in the right manner. Can anybody please provide me some document or link from where I can refer?
Thanks,
Satinder Singh
[email protected]
Hello,
Is there a good, open-source, document CMake module for gettext support?
I mean:
Extracting messages from sources
Merging messages to existing translations
Compilation of mo-files
Installation of mo-files.
Because plain macros that CMake provides are quite... useless for real l10n support.
The following script returns 20 instead of 21!
var d = new Date("2010/03/21");
document.write(d.getDate());
What am I doing wrong? Is this a JavaScript bug?
Hello everyone,
I am learning and using SQL Server 2008 new Merge statement, merge statement will compare/operate source table and destination table row by row ("operate" I mean operations performed for when matched or not-matched conditions). My question is whether the whole merge process will be one transaction or each row comparison/operation will be one transaction?
Appreciate if any document to prove it.
thanks in advance,
George
I have an XML file located at a location such as
http://example.com/test.xml
I'm trying to parse the XML file to use it in my program with xPath like this but it is not working.
Document doc = builder.parse(new File(url));
How can I get the XML file?
Resolving an xpath that includes namepsaces in Java appears to require the use of a NamespaceContext object, mapping prefixes to namespace urls and vice versa. But I can find no mechanism for getting a NamespaceContext other than implementing it myself. This seems counter-intuitive. Is there any easy way to acquire a NamespaceContext from a document, or to create one, or failing that, to forgo prefixes altogether and specify the xpath with fully qualified names?
We are in the process of integrating ASP.NET Business App with Sharepoint. I have some Design questions.
Requirement - From ASP.NET buz application we upload document to Sharepoint Doc Lib 2010 using Web Services. And perform a Search using Serach web service. I would like to know from group are there any disadvantages doing this? Performance etc .. What kind of seacurity consideration i need to be thinking of.
I have a callback function in my open social application which fetches remote date. This works perfect on Crome and Mozila browers but not in IE8. Following is the example for the same, help will be appriciated:
This funcation: gadgets.io.makeRequest(url, response, params) makes the callback call
and following function process the responce:
function response(obj) {
var str = obj.text;
var offerDtlPg = str.substr(0, str.length);
document.getElementById('pplOfrDetls').innerHTML = offerDtlPg;
};
Hello all,
I have a Document Library that receives a mail every week. I want to show the list of mails with their summaries. Is it possible to get that mail's content in Sharepoint, without deploying a custom code?
Thanks.
Hi I need to emulate a task pane by floating a modeless form over the Excel main window. The reason for this requirement is that I need to have taskpane features for my Excel 2003 add-in, but cannot use the document-centric model.
Can anyone suggest what would be the best way to do this? The modeless form would need to detect the main window resize event and resize itself accordingly, and also need to always position itself at the bottom of the window (kind of like a docking pane).
Hello,
Could anyone specify what is the need and use of the Document Type Definition in HTML pages. What is the advantages of it? I searched through the Net and found the results to be little bit confusing. Please someone highlight
Hi,
I have developed a signed plugin for eclipse. I have refered this document http://www.ibm.com/developerworks/opensource/library/os-eclipse-plugin-sigs/index.html
When i am installing that plugin in my system it is ok. and asking for certificate verification .But when i am installing that plugin in other system's eclipse it is giving error. Signed plugin is not getting install in other machine except mine.Why it is like that how to solve that problem please tell???