I have this string inside an input file.
<input type="file" data-url="/modules/wizard/upload.php?eid=18000115&type=ico&case=protagonist&id=121001118" value="" class="wizard_image" name="files">
data-url="/modules/wizard/upload.php?eid=18000115&type=ico&case=protagonist&id=121001118"
Now of this string I only want to change the very last param: id=121001118 with something different and not the entire value of the data-url attribute.
How can I do it? The below one will change the entire string that is not what I am looking for.
newBox.find('input.wizard_image').attr('data-url', 'somethingElse');
Thanks for any help