I am trying to load a bunch of .NET hosted controls into a page dynamically using JavaScript to inject OBJECT tags into the HTML.
My problem is that the objects do not instantiate, only the static object that is visible on page load will appear. Is there any way to get these objects to load?
<h1>
Visible static</h1>
<div id="st...
hi,
I'm doing some geocoding using the google maps API.
The user fill a form with some address, and when the submit button is clicked, a codeAddress() function is called, which is supposed to perform the geocoding, but it does not work.
As a test, I hardcoded the address and call the codeAddress function when the document in an initiali...
I have website that converts Japanese Kanji into romaji (roman letters):
and the output shows and hides with CSS what the user needs to see depending on their input criteria. For example:
<div id="output"><span class="roman">watashi</span> <span class="english">I</span></div>
The interface allows the user to flip between and output of...
Hi,
I'm having a problem related to WebKit:
http://demo.frojd.se/webkit/index.html
When you click "Menu item 1" it shows it's children.
This renders fine in Firefox 3.5, IE8 and in Opera 10.
In WebKit-browsers (Safari 4 and Chrome 3) it doesn't.
However, if I preset all the different classes and css-settings in the
html, it renders co...
I have previously entered value 1111, 1222, and 1333 into a HTML text input. Now if I enter 1 to the text input, it should popup a list with value 1111, 1222, and 1333 as available options. How do you trigger an event when any one of these options is selected?
I have a javascript function that performs a calculation on values entered in...
I do not know where my head is today, can somebody please explain to me - why I can get the hturl value by the request form and do the replace in the htstring? (I do this and it works - but only replaces one occurance of the (hturl) value.... The problem is that there is about 10 more occurances of the old value that I want to replace:
...
Hi,
I am using jQuery Tabs.
Some Tabs require user input.
As soon as the user switches to an other tab these input values are validated.
Now here is my question:
How can I prevent showing any other tab as long as these input values are wrong?
$("#tab").bind('tabsselect', function(){
if ( ... )
{
alert ( 'Please fill...
so that it would be cross browser
...
I'm using the jQuery ajaxForms plugin to make an ajax submit to my CakePHP app.
Cake's RequestHandler detects ajax requests by looking at the "X-Requested-With" header, but the forms plugin does not seem to set it. Or jQuery does not set it when using the plugin.
I've tried several things,
in the main onload function i added:
$.a...
What happens when I call a Javascript function which takes parameters, without supplying those parameters?
...
I already know how to check elements that are there when the document is ready:
jQuery.fn.exists = function () {
return jQuery(this).length > 0;
}
But this method doesn’t know elements that are added with AJAX. Does anybody know how to do that?
...
im developing a web based project management web site using php
i need charts for tasks
about the gant chart it is ok i found a javascript library which functions can take the tasks names , dates and durations then draw a gant chart.
but my problem is about network diagram for the tasks , i need javascripts libraries or flash action scri...
see the following example:
<script language="javascript" type="text/JavaScript">
function testPrecision() {
document.getElementById("test").style.left = "30.176283764px";
alert(document.getElementById("test").style.left);
}
</script>
<div id="test" style="left:20px; width:100px; height:100px; background-color:Red;" onclick="te...
Hi guys, I came across this amazing thing I want to do the same on my website. Its from this link , the magics happens when you click on this button, does anyone knows how this can be done, or what is this effect / widget called so I can google for potentially solutions. thank you
Details from viewing site:
Clicking the (Left Arrow Im...
Hi there,
Is there such a thing as publish and subscribe for use with jquery to send msgs from 1 javascript page to another.. Using the same idea behind ajax publish and subscribe?
I would like to use the pattern for communication between pages, i have been using a javascript framework lately but recently converted back to jquery and w...
Hi, does anyone know how to round corners of div using javascript, but round only lets say 1 or 2 corners which you can choose not all of them. Thank you
...
I have an ASP.NET 3.5sp1 app that is a single page design. The site never posts back. All interaction is done via ajax. (the site is http://BiblePro.BibleOcean.com)
Anonymous access, no accounts in the app.
I wish to save the user's state so that when they come back it returns to where they left it. Is there a way I can save a cookie t...
Hi,
I want to learn how to use XMPP and to create a simple web application with real collaboration features.
I am writing the application with Python(WSGI), and the application will require javascript enabled because I am going to use jQuery or Dojo.
I have downloaded Openfire for the server and which lib to choose? SleekXMPP making tro...
If you create a element within a function like:
function makeDomElement()
{
var createdElement = document.createElement('textarea');
}
And you do not append it anywhere in the DOM i.e. via .appendChild functions, does it still remain in memory? So would you have to do
function makeDomElement()
{
var createdElement = document.cr...
Hey ppl, i have the following scenary:
<div class="maindiv">
<div class="msg">some text</div>
...
<div class="msg">some other text</div>
</div>
I'd like to take the text of each 'msg' class div and translate it using Google API.
I've made the following JS function:
function translateTimeline(){
var lang ...