I've got a demo page up here; you can view source to see what I'm trying to do.
As you can see, everything about it seems to be working except for colors. I'm trying to set the color to blue (#0000ff), but it stays as black. I created a custom SWF file for my font, embedding four different variations of a single font in order to accommo...
hi friends
How can i call a javascript function in the page_load event of a asp.net c# web application
I also want to pass a variable to that javascript function.
...
I have a string in a variable
ie;
var test= "http://www.gmail.com@%@http://www.google.com@%@http://www.yahoo.com@%@";
i have this thing in my javascript function.
i want to split this string from the occurences of the special characters
ie: @%@
so after splitting
i want to push this thing to an array
like this
var spcds = [];
...
hi, i have an radio buttonlist control. in which data are coming from DB and bidning in .cs file
now i need to write an javascript that if user select item 1 in radiobuttonlist it gets selected and again user clicks on the same item it should get deselected.
even if i have 10 items under it this thing should open
that select a...
I have an "a4j:commandButton" that runs some JavaScript on an "onComplete" event.
There is also an "action" that is calling a method.
<a4j:commandButton action="#{Bean.Method()}"
onComplete="thisJavaFunction()">
I am using pages.xml in Seam to change to a separate page when that method is called.
<page view-id="/webpages/page1.XML">
...
how can i auto reload my page contetn with xmlhttprequest and php after few minutes.......!!
like in setInterval............!!
...
How do i set the XPath to a Grease Monkey script
//Beautifying all the links....
var allLinks, thisLink;
allLinks = document.evaluate(
'//a[@href=starts-with(name(),www.elakiri.com)]', //a[@href=contains(name(),'www.elakiri.com')] ////a[@href] //*[starts-with(name(),'B')]
document,
null,
XPathResult.UNORDERED_NODE_SN...
My login page works like this: when you enter it, javascript reads some info from you, writes it into some input and does submit so that the read data can be read and processed on server.
<script language="javaScript" type="text/javascript">
function getUserInfo()
{
var userInfo = xyz.GetSecureBox();
for...
I need to reflect a dynamically generated box, containing an image, besides some text on a colored background. All with a gradual fade, and beauty abound.
I've found jQuery plugins for reflecting images the way I'd like to, but no way to give generic elements the same treatment.
First thought is to generate the boxes as needed, take...
Greetings,
I have written a modal using jquery UI and it appears at the front of a flash movie thus the html inside the modal becomes corrupt, I tried to hide the movie right before modal gets triggered and reappears after closing the modal, works well but each .hide() and .show() the flash movie gets resetted while all I want is to hide...
The title explains it really. How to do this? Both divs are of differing size. Both divs are moving (I'm making a little Jquery game). If one hits the other, I want stuff to happen.
Thanks
...
hi,
i have an Radiobutton with (6 items under it). and i have an search button. if user clicks Search button it gets all the result. i am binding the items for Radiobuttonlist using database in .cs file
condition 1: now if user as selected Radiobutton1 [item1] it gets selected. and now if user again clicks on Radiobutton1[item1] then i...
How to get the mouse position over a DOM element, that is a child of a relative element
(in JavaScript)?
...
I've got a bit of a problem. My application communicates with BizTalk to extract data from a database, passing in a key value from the UI which is used for the look up. I have a couple of regEx checks in the UI to make sure that the user enters a correctly formatted key value. If they don't, any input errors is caught in the UI-validatio...
In javascript you can match regular expression with regex(string) syntax.
However the syntax isn't very used as far as I know, anybody know why?
...
Hello,
I'm working on a lightbox style javascript plugin that pops up an image with next+previous buttons and a close button. I want to make it so that tabbing will only jump between the three presented buttons in the popup, not go through the three of them and then continue on the page content in the background.
Does anyone have any s...
Hi all,
This is kind of difficult to explain, so I'll paste the function, and explain what it does
function close(r){
if(r !== undefined){
$('#close').attr('name','1');
$('#close').css({
top: 30,
left: 30
});
$('#close').html('First click here');
}else{
switch($('#close').attr('name')){
case '1':
$('#close').at...
What would be the best way to have preloaded data in html and then used with javascript. I do not want to use variables in javascript or save an ajax query.
It may be an XML data into a hidden div? .
Example:
1; Europe
2; Latin America
------------------
2, 1, Argentina
2, 2; Brazil
2, 3, Chile
1, 4, France
1, 5, Spain
1, 6; Italy
...
I have an aspx web page (opener) which opens a popup window
In the popup window I need to retrieve the value of a hidden field which exists in the opener page.
So this is all straight forward using Javascript.
However, here’s the problem, I need the value of the hidden field to be processed SERVER side before the pop up page loads
(B...
I am trying to build a PhoneGap-based iPhone application, but I keep getting the following two errors:
./build-phonegap.sh: line 6: ./configure: No such file or directory
cp: lib/iphone/phonegap-min.js: No such file or directory
I built and installed the latest version of PhoneGap from the source on GitHub. I have checked to make sure...