Hi,
I am trying to get a multiple countdown system, event day and minutes being fetched from database. There can be many such events. After getting the event date, i pass this values to a javascript function which on client side runs for every 1 sec using the setTimout function. This works fine for one event. However for many events how ...
Hi
How Can i fill an array that defined in javascript with c# in behind code?
EDIT:
here is my code
protected void Page_Load(object sender, System.EventArgs e)
{
string[] locations = new string[] {
"Las Vegas",
"Los Angeles",
"Tampa",
"New York",
"s",
"sss"
};
string jsArray = GetJSArrayForVBArray(locations);
t...
I had JavaScript slide show which had Image and text .But I want to mange js code to retrieve it's data(image, text) from database by code .please anyone help more it more difficult.
aspx page:
<form id="form1" runat="server">
<div class="hom_scrooler_con tm10 "><script type="text/javascript" src="js/scroller.js"></script>
<div clas...
Hi,
Hoping someone can point me in the right direction with regards to Superfish jQuery Menu Plugin at Superfish Site
My question is, I am using this menu system inside Oracle Application Express (ApEx) and using IE6 browser.
What I find and not sure if this is specifically relevant to Oracle ApEx but when I hover over a menu item, I ...
Hi,
What is the difference between events like afterLayout and layout, afterRender and render? I understand the difference between beforeLayout and afterLayout -- but how does layout event differ?
...
Hello
I want to attach OnMouseOver even for all the anchor tags in a page. But i if any of the anchor tags already has a OnMouseOver even i dont want to replace it. I just want to add my event handler there.
How can i achieve it through Javascript or JQuery?
...
Hi all,
I know there have been other questions on getting JavaScript / Flex ExternalInterface to play nicely, but I've what I think is a weird one. It works perfectly in every browser except Safari (on a Mac). Chrome, IE, Firefox - all ok, but Safari, nope it just wont fire. I've copied my code below, can anyone see why it doesn't work i...
hi am using this snippet for preload image using javascript
window.onload=function(){
heavyImage.src = "images/qq-lookupbody-holder.png"; (ON PAGE LOAD)
}
But am not find any different after i added this js snippet,
Is there any way to check , the preloader script is really worht or not....
...
I've downloaded Webkit nightly build. I open JavaScriptCore and built it. Compilation done without any error. But the output was a Framework contains only OS X binary. I tried unchecking 'build active architecture only' but only desktop architectures built. (I looked in the binary with lipo tool)
Is there any simple way to do this? I'm ...
Hi folks,
I'm trying to use JQuery to call some custom api via Ajax/$.getJSON . I'm trying to pass a custom value into the Ajax callback method, but that value is not getting passed through and is actually getting overwritten. This is my code:-
var locationType = 3;
var url = 'blah blah blah' + '&locationType=' + locationType;
$("#load...
Hi,
I'm trying to download flv video directly from youtube using
http://www.youtube.com/get_video?video_id=9Mu23wVb--4=TOKEN
Note:In place of TOKEN i placed the value of obtained from below url....
youtube.com/get_video_info?&video_id=9Mu23wVb--4
After trying this option, i'm getting page not found. is there any way to get the flv ...
I have set of images and checkboxes like below
<form name="food_type_form method="post" action="proc.php">
<img src="images/type_indian.jpg" alt="Select Indian food" />
<input type="checkbox" name="food_type[]" value="indian" />Indian
<img src="images/type_chinese.jpg" alt="Select Chinese food" />
<input type="checkbox" name="food_type...
I need to wait for document readyness in my JavaScript, to insert a div at the bottom of the body.
I want to:
make this JavaScript file as small as possible (compile it down to < 1kb if possible)
inline the code that provides the document readyness in a closure (without exporting it)
Inlining the whole jQuery source in my file would...
I'd like to create a SVG overlay over my webpage
using "z-index:1000" and make this overlay transparent
to mouse events. However right now if I create a SVG object at absolute
position using i.e. this call:
r = Raphael(0,0,150,150);
r.path("M0 0L150 150").attr('cursor','crosshair');
$(r.canvas).css({'z-index':1000, 'position':'absolute...
so im trying to write a new jquery plugin.
base (this is not my plugin, just for better understanding):
(function($) {
$.fn.mySuperCoolPlugin = function(options) {
// Build main options before element iteration
var opts = $.extend({}, $.fn.mySuperCoolPlugin.defaults, options);
var editText= 'pre ' + opts....
Hi, I'm trying to get a input text value on jQuery .keypress() function, I've saw various examples with keypress and keydown but not dedicated on getting the input value.
Is it possible?
$(document).ready(function(){
$("#my_field").keydown (function (e) {
alert (e);
});
});
The returned object has a series of propertie...
Hello everyone!
I am just learning to create websites and I have been programmming a lot of OOB languages before so I am kind of used to write small objects and just paste them where I want them.
I would like to know if there is a way to create for instace a login form och what ever piece of html that you use regulare on sites and save...
I am editing an existing site, which is a typical merchant site. A series of PHP files with one main index that loads in the various content pages.
The main index.php, using <script>, loads in jsFunctions.js.
When ever I modify the jsFunctions.js file, the index only loads the jsFunctions.js partially. For example I will get a firebu...
Hello,
This my javascript :-
<script type ="text/javascript">
$(function()
{
$("#tabs").tabs({ cache: true ,fx: { opacity: 'toggle' }});
});
</script>
And this is my html which loads php file using ajax :-
<ul>
<li><a href="#tab1">General</a></li>
<li><a href="<?php echo base_url() . 'Admin/M...
I am looking for suggestions for a lightweight rules engine implemented in Javascript.
The reason for such an implementation is to build a very lightweight but fast browser-based simulation using a small set of rules (less than 20). The simulation would take half a dozen parameters and run the rules and display results in the browser wi...