Hi All,
i need an equivalent or an alternative for this code in internet explorer using the filter method
background: -moz-linear-gradient(center bottom , rgb(132, 133, 132) 0%, rgb(35, 35, 35) 49%, rgb(104, 104, 104) 100%) repeat scroll 0% 0% transparent;
the most important thing in the code is the points ( 0% - 49% - 100% )
i beli...
The Google Closure (GC) Javascript Library makes it very easy to create an AutoComplete UI, as this demo shows - http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/autocomplete-basic.html .
Basically, all we have to do is define an array and pass it on as one of the parameters. I'd like to be able to update the array dyn...
Hello,
I have a situation where I'd like to set an onload handler for a script element, but it is possible that the script element has already loaded before I do so. If it's already loaded, I'd like to detect that and run my handler immediately.
What would be a reliable way of checking a script element's onload state after the fact?
...
I'm building a tagger. After a user submits a tag, ajax returns:
{"returnmessage":"The Ajax operation was successful.","tagsinserted":"BLAH, BLOOOW","returncode":"0"}
I want to take the tagsinserted and loop through it, and during each loop take the item in the list and insert it on the HTML page. suggestion on how to do this right?
...
I have a page, when loaded it does some stuff with JQ.
In the next phase I want to load mootools and remove all JQ stuff, to avoid collisions and to avoid memory leaking.
I am not giving you the all picture (to simplify the question), but assume I am not doing something stupid here, and it needs to be done how I am asking it.
...
I created a native Android app that basically hosts a webView control. That webView is then used to load a page that calls window.openDatabase from JavaScript. I can successfully confirm that the API exists by verifying window.openDatabase.
Calling this method returns a null when called in a hosted webView control. Calling the same m...
Is there a c# library that can help to write and indent Javascript code.
It's because I'm writing some c# code that generated some Javascript code. Something like this :
js += "<script type=\"text/javascript\">\n";
js += " function()...\n";
And I find that generated a lot of ugly code.
So, I thought that maybe a existing library c...
I'm pretty sure this is a Firefox or flash-related bug, but I just want to check if anyone has ran into this problem or knows how to fix it.
Basically, we have a multi-file upload widget for our highly dynamic web app (think Gmail). We've tried both uploadify for jQuery, and YUI uploader. We've also tried taking those out of our app int...
Hi,
I am going to create an xml element in javascript to exchange data with server side. I found I can do it with document.createElement.But I do not know how to convert it to string. Is there any API in browser to make it easier? Or is there any js lib incudling this API?
Thanks in advance.
//Modification
I found that browser AP...
HI There,
we have the video in the local file system , and when the user clicks on the video the brower is lanuched. now we need to decrypt videos before playout using Javascript/or any client side technology(using activex ..etc) and HTML 5 Events. what is the best way to do this ?
Thanks for your comments
DEE
...
I want to develop a extension for firefox. Now I add a image in my project, and I want to use it in my js.because my element is created dynamic,so I didn't get it from xul file. How to get the Image in JS directly?
...
I have used javascript to upload more than one file. when user clicks on 'add more' javascript appends new object to older div using innerHTML.
Now the problem is if I select a file and then click on "add more" then new file button exist but older selected file removes and two blank file buttons display. I want this old file must be sel...
I'm trying to make an auto login script and I'm stuck on the submit part...
The source of the submit form from the website is
<input type="submit" value="Sign In" class="signin" id="sumbitLogin">
and I'm trying
document.getElementById("sumbitLogin").submit();
if I set an Attribute, for example the value, it changes just fine...
...
I am working on a Browser-based media player which is written almost entirely in HTML 5 and JavaScript. The backend is written in PHP but it has one function which is to fill the playlist on the initial load. And the rest is all JS. There is a search bar that refines the playlist. I want it to refine as the person is typing, like most me...
Hi All,
I got RJS error: TypeError: element is null while using ajax.
I used in view
<%= periodically_call_remote(:url=>{:action=>'get_user_list', :id=>'1'},
:frequency => '5') %>
in controller
render :update do |page|
page.replace_html 'chat_area', :partial => 'chat_area', :object => [@chats, @user] if @js_update
end...
I've got a page with a header and a content.
The header has position: fixed; height: 200px, the content is below.
In the header I have a link <a href="#work" ...> . In the content there is a <div id="work">. When I click the link, the browser scrolls to the work div - the problem is half of the content is covered (remains underneath) t...
Hey guys,
I am looking to find a lean WYSIWYG inline editor. The main required feature is image uploading. A simple way to upload an image to the server and use it in the content being editted. I have come across a whole bunch of editors but nothing I liked so far. I am looking for something open source and free.
So far I have che...
I have a check box and a text box.
I have used struts tags and
Now i need to validate that if the check box is checked, i should gray out (disable) the text box. If it is unchecked the text box shold take phone numbers.
I did lik this, i called a java script on click of check box and did a innerHtml based on wheather checkbox ix chec...
I am trying following,
1. Get response using Ajax from the users selection which returns me the list of the radio buttons attributes as
2. Once i get the attribute list i am creating the radio buttons using createElement()
3. Then i am attaching the event to the radio button for onclick buttons.
4. Then i add element to the DOM using...
Hi All,
I want to call a function for every half minute. i am using the following code. The function is not getting triggered.
Code:
window.setInterval('progress()', 10000);
Geetha.
...