dynamic

Dynamically add input boxes into form?

What I am trying to do is very similar to this question: http://stackoverflow.com/questions/1894009/using-jquery-to-dynamically-add-form-fields-or-fieldsets-based-on-a-dropdown-bo Specifically, I want to use a drop down box value to add that number of input boxes to a fieldset. I do not know jQuery so the answer I am linking to hasn't ...

as3 - Access class attributes dynamically

public class SndFx { [Embed(source="Sounds/01.mp3")] public static const s01:Class; public static const s01s:Sound = new s01() as Sound; [Embed(source="Sounds/02.mp3")] public static const s02:Class; public static const s02s:Sound = new s02() as Sound; [etc...] } Can I access these attributes dynamically? I've got a number of ...

dynamic calculation of UILabel width in UITableViewCell

Hi everyone, I am building a custom, in-application settings view based on UITableViewCellStyle1 (or so). I'm trying to dynamically calculate the width of the left label (title) of a cell in order to determine how wide my text field on the right can be. When I launch the app in the simulator and the view loads, the width of the title la...

C# Dynamic Code Analysis

Hi, I'm wondering if there are tools, or if there is a programmatic approach for mapping the execution of a web application ? To clarify, the company I work for develop a CRM product that is based around the concept of Dynamically loading ASCX controls on a page-by-page basis. What I would like to see is a map to see from the request ...

Dynamic Class names (jQuery)

<label>Hatchback <input type="checkbox" name="" /></label> <label>Bike <input type="checkbox" name="" /></label> <label>Sedan <input type="checkbox" name="" /></label> <label>Scooter <input type="checkbox" name="" /></label> <label>Coupe <input type="checkbox" name="" /></label> <label>SUV <input type="checkbox" name="" /...

How to write an extension method that returns a dynamic object?

I was thinking about how Regex.Match.Group wants to be dynamic: Regex.Match (...).Groups["Foo"] would like to be: Regex.Match (...).Groups.Foo I thought about writing an extension method that would allow: Regex.Match (...).Groups().Foo And tried writing it this way, but this isn't allowed (';' required by 'static dynamic') pu...

Dynamic Template Sheet?

I have 5 game sections that will use the same template sheet, but they will all pull data from a different table in mysql in the same database. However, I am incorporating this: http://stackoverflow.com/questions/1712973/how-to-include-config-php-efficiently/1713000#1713000 Okay, so here's how I was planning to tackle it. For example, ...

Dynamic Java Compilation: BeanShell, Janino, JavaCompiler?

I am about to start developing a small Java desktop app. The app is just an engine for which the user provides Java classes to do the work (translating input to output). I would like the user to provide actual Java classes as files that can be loaded (and reloaded) on the fly. For this particular use, is there any reason why Java woul...

Is it possible to send message to dynamically contructed JMS/WS endpoint in Aqualogic Service Bus?

Aqualogic Service Bus allows creating "business" services for specific end points, but what if the end point is not defined during configuration time or even the number of end points is not fixed. Is it possible to send message to dynamically constructed JMS/WS endpoint in Aqualogic Service Bus? ...

HTML5 Large canvas

I've noticed that when dynamically creating a large canvas (6400x6400) that quite alot of the time nothing will be drawn on it, and when setting the canvas to a small size it works 100% of the time, however as I don't know any better, I have no other choice than to try and get the large canvas working correctly. thisObj.oMapCanvas ...

NSIS- How can I dynamically show a particular custom page?

My 1st page contains 2 radio buttons: 1 for install and other for upgrade. Depending upon user selection I have to show custom pages for installation or upgradation. How can I do this? ...

Javascript 2D array

Hi Gurus, I am trying to use 2 dimensional array in javascript for storing strings. But I am not able to get the values correctly. Below is my code. var commentstore=new Array(); function creating(id,day) { if(commentstore[day,id] != null) { alert("It already exists: commentstore["...

How to create a dynamic xml which populates an advanced data grid in flex air application

Is it possible to create a dynamic xml file which changes in some fields to populate an advanced data grid? I have to display continents, countries, society and its values but i want to change randomly only the value and not all toegether... The client side application call the database by an asynchronous httpservice. LCDS, Blaze or simi...

Jquery Dynamic Form Elements - Problem

I've looked through the Related Questions section and I can't find an answer to this. I'm using PHP + Jquery. I added <input type='file' name='file[]' size='20 />' dynamically, using Jquery. However, when I Post the data, and use print_r($_POST);, I get the other elements that were there before I dynamically added the Jquery Code, but no...

Javascript Array Key Retrieval

My JavaScript code stores a lot of data in arrays. I want to retrieve a key using something similar to what I wrote below. It key that should be retrieved is based on variables that are page-dependent . The following code doesn't work. Can anyone give me a solution to this problem? This is part of a script that does automatic conjugatio...

Subset Sum TI Basic Programming

I'm trying to program my TI-83 to do a subset sum search. So, given a list of length N, I want to find all lists of given length L, that sum to a given value V. This is a little bit different than the regular subset sum problem because I am only searching for subsets of given lengths, not all lengths, and recursion is not necessarily th...

javascript save dynamic object in someplace for resuse byother methods later on!

i want to save javascript object in a place, so if selected row is getting trigger, i can use that row object again by different methods. maybe saving it in input hidden field can work? but not sure.. how would you do it? im trying to do following, but that dont work, obviously my code is wrong, but i want to show you, so you can maybe...

Reading 'Checked' Property Of Dynamic CheckBox on Page Postback

Hi all, Apologies in advance for the long-winded post, but I'm having some trouble with a .NET page I'm building. END QUESTION: How can I check the 'Checked' property of a dynamically-created checkbox during the Page_Load subroutine? DETAILS: Basically, I have a VB.NET page that creates some table rows dynamically, based on a number s...

Dynamic height based on another element (jQuery)

HTML: <div class="main" style="float:left"> lorem ipsum <br /> lorem ipsum <br /> lorem ipsum <br /> </div> <div style="float:right"> <div class="block">block</div> <div class="block">block</div> <div class="block">block</div> </div> jQuery: $('.block').height($(".main").height() / (3)); ... each block height = height o...

How to conditionally filter on a column in a WHERE clause?

OK, the umpteenth conditional column question: I'm writing a stored proc that takes an input parameter that's mapped to one of several flag columns. What's the best way to filter on the requested column? I'm currently on SQL2000, but about to move to SQL2008, so I'll take a contemporary solution if one's available. The table queried in...